diff --git a/module/todo/zen.php b/module/todo/zen.php index 7b1085f2b1..7f4a6d0678 100755 --- a/module/todo/zen.php +++ b/module/todo/zen.php @@ -401,7 +401,7 @@ class todoZen extends todo $objectIdList = array(); $allTodos = $this->todo->getList($type, $account, $status); - if($form->data->todoIdList) $todoIdList = $form->data->todoIdList; + if($this->post->todoIdList) $todoIdList = $this->post->todoIdList; /* Initialize todos whose need to edited. */ foreach($allTodos as $todo)