diff --git a/app/Models/TaskModel.php b/app/Models/TaskModel.php index e9d0b1e2..4eabedf8 100644 --- a/app/Models/TaskModel.php +++ b/app/Models/TaskModel.php @@ -228,7 +228,7 @@ public function getProgress(array $task, array $columns) return 100; } - return $task['progress'] ?: 0; + return isset($task['progress']) && $task['progress'] ?: 0; } /**