diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-04-18 15:26:12 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-04-18 15:26:12 -0400 |
commit | f53bb88d10836e5c31efb958683d8bf3829eecbf (patch) | |
tree | 9d933579fb1c1742c7dcb89432f02eeec233556f /app/Model/Subtask.php | |
parent | 93174162233890f6bdf3383e69095fc385f778aa (diff) |
Fix PHP 5.3 issue
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; } } |