diff options
Diffstat (limited to 'app/Model/TaskStatusModel.php')
-rw-r--r-- | app/Model/TaskStatusModel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskStatusModel.php b/app/Model/TaskStatusModel.php index dc114698..bb6725ff 100644 --- a/app/Model/TaskStatusModel.php +++ b/app/Model/TaskStatusModel.php @@ -139,6 +139,6 @@ class TaskStatusModel extends Base ->table(TaskModel::TABLE) ->eq('id', $task_id) ->eq('is_active', $status) - ->count() === 1; + ->exists(); } } |