summaryrefslogtreecommitdiff
path: root/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-10-09 11:53:23 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-10-09 11:53:23 (GMT)
commit7d4923848cdf0d14d79dd273a28b2e66a233770c (patch)
treeb8c1bea2f5d292918a2ee8fdb2f151d88b9cff27 /plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
parentb72aee51e56792688ad6193e64ff5dd55ab4e5d1 (diff)
downloadroundcubemail-plugins-kolab-7d4923848cdf0d14d79dd273a28b2e66a233770c.tar.gz
Fix moving events to another calendar/folder and reloading it (#3748)
Diffstat (limited to 'plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php')
-rw-r--r--plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
index 197d17b..acde5be 100644
--- a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
+++ b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
@@ -732,7 +732,7 @@ class tasklist_kolab_driver extends tasklist_driver
// moved from another folder
if ($task['_fromlist'] && ($fromfolder = $this->folders[$task['_fromlist']])) {
- if (!$fromfolder->move($task['id'], $folder->name))
+ if (!$fromfolder->move($task['id'], $folder))
return false;
unset($task['_fromlist']);
@@ -785,7 +785,7 @@ class tasklist_kolab_driver extends tasklist_driver
// execute move command
if ($task['_fromlist'] && ($fromfolder = $this->folders[$task['_fromlist']])) {
- return $fromfolder->move($task['id'], $folder->name);
+ return $fromfolder->move($task['id'], $folder);
}
return false;