summaryrefslogtreecommitdiff
path: root/app/Model/TaskPosition.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/TaskPosition.php')
-rw-r--r--app/Model/TaskPosition.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskPosition.php b/app/Model/TaskPosition.php
index 06170509..f8ac4fd9 100644
--- a/app/Model/TaskPosition.php
+++ b/app/Model/TaskPosition.php
@@ -94,7 +94,7 @@ class TaskPosition extends Base
foreach ($column as $task_id) {
- $result = $this->db->table(Task::TABLE)->eq('id', $task_id)->update(array(
+ $result = $db->table(Task::TABLE)->eq('id', $task_id)->update(array(
'position' => $position,
'column_id' => $column_id
));