summaryrefslogtreecommitdiff
path: root/app/Action/TaskUpdateStartDate.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Action/TaskUpdateStartDate.php')
-rw-r--r--app/Action/TaskUpdateStartDate.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/Action/TaskUpdateStartDate.php b/app/Action/TaskUpdateStartDate.php
index e5410a87..cc016da1 100644
--- a/app/Action/TaskUpdateStartDate.php
+++ b/app/Action/TaskUpdateStartDate.php
@@ -59,7 +59,10 @@ class TaskUpdateStartDate extends Base
{
return array(
'task_id',
- 'column_id',
+ 'task' => array(
+ 'project_id',
+ 'column_id',
+ ),
);
}
@@ -89,6 +92,6 @@ class TaskUpdateStartDate extends Base
*/
public function hasRequiredCondition(array $data)
{
- return $data['column_id'] == $this->getParam('column_id');
+ return $data['task']['column_id'] == $this->getParam('column_id');
}
}