summaryrefslogtreecommitdiff
path: root/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
diff options
context:
space:
mode:
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;