diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Api/Task.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Api/Task.php b/app/Api/Task.php index 1491cd35..97d89775 100644 --- a/app/Api/Task.php +++ b/app/Api/Task.php @@ -117,7 +117,7 @@ class Task extends Base return false; } - if ($owner_id !== null && ! $this->projectPermission->isAssignable($project_id, $owner_id)) { + if ($owner_id !== null && $owner_id != 0 && ! $this->projectPermission->isAssignable($project_id, $owner_id)) { return false; } |