summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Model/Board.php2
-rw-r--r--app/Model/Subtask.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/Board.php b/app/Model/Board.php
index 712a3534..3650418f 100644
--- a/app/Model/Board.php
+++ b/app/Model/Board.php
@@ -178,7 +178,7 @@ class Board extends Base
return $this->db->transaction(function ($db) use ($columns) {
foreach ($columns as $column_id => $position) {
- if (! $db->table(self::TABLE)->eq('id', $column_id)->update(array('position' => $position))) {
+ if (! $db->table(Board::TABLE)->eq('id', $column_id)->update(array('position' => $position))) {
return false;
}
}
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;
}
}