diff options
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/Base.php | 1 | ||||
-rw-r--r-- | app/Model/Project.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/Model/Base.php b/app/Model/Base.php index 1439a36e..306cf854 100644 --- a/app/Model/Base.php +++ b/app/Model/Base.php @@ -26,6 +26,7 @@ use PicoDb\Database; * @property \Model\SubTask $subTask * @property \Model\Task $task * @property \Model\User $user + * @property \Model\Webhook $webhook */ abstract class Base { diff --git a/app/Model/Project.php b/app/Model/Project.php index 63458fa3..9f53fdda 100644 --- a/app/Model/Project.php +++ b/app/Model/Project.php @@ -431,7 +431,7 @@ class Project extends Base unset($category['id']); $category['project_id'] = $project_to; - if (! $categoryModel->create($category)) { + if (! $this->category->create($category)) { return false; } } |