summaryrefslogtreecommitdiff
path: root/app/Model/Project.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/Project.php')
-rw-r--r--app/Model/Project.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Project.php b/app/Model/Project.php
index 6d8885b1..f9c5c39c 100644
--- a/app/Model/Project.php
+++ b/app/Model/Project.php
@@ -228,7 +228,7 @@ class Project extends Base
);
if (! $this->db->table(self::TABLE)->save($values)) {
- return false;
+ return 0;
}
return $this->db->getConnection()->getLastId();