Stupid! Writeable is not derrived from subscription...
This commit is contained in:
parent
4b3344e23a
commit
28e8f440e8
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ class kolab_driver extends calendar_driver
|
||||||
// iterate over all calendar folders and search for the event ID
|
// iterate over all calendar folders and search for the event ID
|
||||||
else if (!$cal) {
|
else if (!$cal) {
|
||||||
foreach ($this->calendars as $storage) {
|
foreach ($this->calendars as $storage) {
|
||||||
if ($writeable && !rcube_kolab::is_subscribed($storage->get_realname()))
|
if ($writeable && $storage->readonly)
|
||||||
continue;
|
continue;
|
||||||
if ($result = $storage->get_event($id)) {
|
if ($result = $storage->get_event($id)) {
|
||||||
return $result;
|
return $result;
|
||||||
|
|
Loading…
Add table
Reference in a new issue