aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/lib/DateTimeParser.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/vobject/lib/DateTimeParser.php')
-rw-r--r--vendor/sabre/vobject/lib/DateTimeParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/sabre/vobject/lib/DateTimeParser.php b/vendor/sabre/vobject/lib/DateTimeParser.php
index 1c253437a..c5dbac97d 100644
--- a/vendor/sabre/vobject/lib/DateTimeParser.php
+++ b/vendor/sabre/vobject/lib/DateTimeParser.php
@@ -104,7 +104,7 @@ class DateTimeParser
if (!$asString) {
$invert = false;
- if ('-' === $matches['plusminus']) {
+ if (isset($matches['plusminus']) && '-' === $matches['plusminus']) {
$invert = true;
}