summaryrefslogtreecommitdiff
path: root/app/Model/Subtask.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-27 00:00:43 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-27 00:00:43 -0400
commit1823430d13508fec5de39264bb4fe1224716def2 (patch)
treef911a412f1b8be2471bcb66c7fed8adf675c8d4a /app/Model/Subtask.php
parent7a22f4c6d47a3e5d447ebeeef094092a4a4b0ad2 (diff)
PicoDb update
Diffstat (limited to 'app/Model/Subtask.php')
-rw-r--r--app/Model/Subtask.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Subtask.php b/app/Model/Subtask.php
index b9cc6ded..d8a44aff 100644
--- a/app/Model/Subtask.php
+++ b/app/Model/Subtask.php
@@ -390,7 +390,7 @@ class Subtask extends Base
$this->db->table(self::TABLE)
->eq('status', self::STATUS_INPROGRESS)
->eq('user_id', $user_id)
- ->count() === 1;
+ ->exists();
}
/**