diff options
Diffstat (limited to 'app/Model/SubTask.php')
-rw-r--r-- | app/Model/SubTask.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/SubTask.php b/app/Model/SubTask.php index 87820c69..6e61330b 100644 --- a/app/Model/SubTask.php +++ b/app/Model/SubTask.php @@ -195,7 +195,7 @@ class SubTask extends Base { return $this->db->transaction(function ($db) use ($src_task_id, $dst_task_id) { - $subtasks = $db->table(self::TABLE) + $subtasks = $db->table(SubTask::TABLE) ->columns('title', 'time_estimated') ->eq('task_id', $src_task_id) ->findAll(); @@ -204,7 +204,7 @@ class SubTask extends Base $subtask['task_id'] = $dst_task_id; - if (! $db->table(self::TABLE)->save($subtask)) { + if (! $db->table(SubTask::TABLE)->save($subtask)) { return false; } } |