Stupid! Writeable is not derrived from subscription...

This commit is contained in:
Thomas 2011-09-05 23:53:46 +02:00
parent 4b3344e23a
commit 28e8f440e8

View file

@ -376,7 +376,7 @@ class kolab_driver extends calendar_driver
// iterate over all calendar folders and search for the event ID
else if (!$cal) {
foreach ($this->calendars as $storage) {
if ($writeable && !rcube_kolab::is_subscribed($storage->get_realname()))
if ($writeable && $storage->readonly)
continue;
if ($result = $storage->get_event($id)) {
return $result;