Skip to content

Commit 3e28db8

Browse files
committed
Fix #80 should have been empty instead of !empty
1 parent 9d9df1d commit 3e28db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/NewTaskCreationModel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected function prepare(array &$values)
102102
$values['title'] = t('Untitled');
103103
}
104104

105-
if ($this->userSession->isLogged() && !empty($values['creator_id'])) {
105+
if ($this->userSession->isLogged() && empty($values['creator_id'])) {
106106
$values['creator_id'] = $this->userSession->getId();
107107
}
108108

0 commit comments

Comments
 (0)