summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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