summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-03-05 14:21:26 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-03-05 14:21:26 (GMT)
commitbd342a1aa6af1430d788b8385fb5c0647e4b7054 (patch)
treea0d3eb324087fb5e5f3e0d4dc37c8c4a146c725a
parentcc520b26b76c2362fd5ab06005744fc77bfcd0d0 (diff)
downloadkolab-syncroton-bd342a1aa6af1430d788b8385fb5c0647e4b7054.tar.gz
Strip empty parameters from RRULE properties (#4800)
-rw-r--r--lib/kolab_sync_data.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/kolab_sync_data.php b/lib/kolab_sync_data.php
index ba09dd9..3c650ad 100644
--- a/lib/kolab_sync_data.php
+++ b/lib/kolab_sync_data.php
@@ -1702,6 +1702,13 @@ abstract class kolab_sync_data implements Syncroton_Data_IData
}
}
}
+
+ if (empty($rrule['EXDATE'])) {
+ unset($rrule['EXDATE']);
+ }
+ if (empty($rrule['EXCEPTIONS'])) {
+ unset($rrule['EXCEPTIONS']);
+ }
}
/**