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:
Christian Mollekopf 2024-04-10 17:19:39 +02:00
parent 0333d78048
commit 817fbf738c

View file

@ -394,7 +394,7 @@ class kolab_driver extends calendar_driver
$folder = $this->storage->folder_update($prop);
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;
}