diff options
Diffstat (limited to 'app/Model/Subtask.php')
-rw-r--r-- | app/Model/Subtask.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Subtask.php b/app/Model/Subtask.php index f7929af3..65fa0f0c 100644 --- a/app/Model/Subtask.php +++ b/app/Model/Subtask.php @@ -260,7 +260,7 @@ class Subtask extends Base return $this->db->transaction(function ($db) use ($subtasks) { foreach ($subtasks as $subtask_id => $position) { - if (! $db->table(self::TABLE)->eq('id', $subtask_id)->update(array('position' => $position))) { + if (! $db->table(Subtask::TABLE)->eq('id', $subtask_id)->update(array('position' => $position))) { return false; } } |