diff --git a/app/Http/Controllers/TaskKanbanController.php b/app/Http/Controllers/TaskKanbanController.php index ed24ba7073..cc088adeb5 100644 --- a/app/Http/Controllers/TaskKanbanController.php +++ b/app/Http/Controllers/TaskKanbanController.php @@ -118,7 +118,7 @@ class TaskKanbanController extends BaseController $origSortOrder = $status->sort_order; $newSortOrder = request('sort_order'); - if ($newSortOrder && $newSortOrder != $origSortOrder) { + if ($newSortOrder != $origSortOrder) { TaskStatus::scope() ->where('sort_order', '>', $origSortOrder) ->decrement('sort_order');