summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-12-03 15:15:56 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-12-03 15:15:56 (GMT)
commitb8a631c06d0c36d733b3bf0839bab936d6623f1b (patch)
treebd4545bac2ca0d2ab9e30fca1bb5dc67017d158d
parent3784b8d9a79982c1c080a909f081ad5c327406ea (diff)
downloadroundcubemail-plugins-kolab-b8a631c06d0c36d733b3bf0839bab936d6623f1b.tar.gz
Fix PHP Fatal error: Using $this when not in object context (#4016)roundcubemail-plugins-kolab-3.2.0
-rw-r--r--plugins/calendar/calendar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php
index 5a795fb..547be1e 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -1037,8 +1037,8 @@ class calendar extends rcube_plugin
// convert date cols
foreach (array('start','end','created','changed') as $col) {
if ($change['property'] == $col) {
- $change['old'] = $this->lib->adjust_timezone($change['old'], strlen($change['old']) == 10)->format('c');
- $change['new'] = $this->lib->adjust_timezone($change['new'], strlen($change['new']) == 10)->format('c');
+ $change['old'] = $lib->adjust_timezone($change['old'], strlen($change['old']) == 10)->format('c');
+ $change['new'] = $lib->adjust_timezone($change['new'], strlen($change['new']) == 10)->format('c');
}
}
// create textual representation for alarms and recurrence