summaryrefslogtreecommitdiff
path: root/app/Model/Project.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2015-01-02 21:48:26 -0500
committerFrédéric Guillot <fred@kanboard.net>2015-01-02 21:48:26 -0500
commit0ebdd4ddfd898628cc30e34e55e97f88e5e30a71 (patch)
tree4038cd9ad1ad440b033d221b4ffd637ec03a538d /app/Model/Project.php
parent45c95d74fc2115fe4cc7214553c0927d3ce9df8d (diff)
Cleanup and fixes
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();