Static properties cannot be accessed via the object operator
https://www.php.net/manual/en/language.oop5.static.php Fixes: Undefined property: kolab_storage::$last_error in /usr/share/roundcubemail/plugins/calendar/drivers/kolab/kolab_driver.php on line 397
This commit is contained in:
parent
0333d78048
commit
817fbf738c
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ class kolab_driver extends calendar_driver
|
||||||
$folder = $this->storage->folder_update($prop);
|
$folder = $this->storage->folder_update($prop);
|
||||||
|
|
||||||
if ($folder === false) {
|
if ($folder === false) {
|
||||||
$this->last_error = $this->cal->gettext($this->storage->last_error);
|
$this->last_error = $this->cal->gettext($this->storage::$last_error);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue