Fix PHP Fatal error: Using $this when not in object context (#4016)
This commit is contained in:
parent
3784b8d9a7
commit
b8a631c06d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue