Cleanup and fixes

This commit is contained in:
Frédéric Guillot
2015-01-02 21:48:26 -05:00
parent 45c95d74fc
commit 0ebdd4ddfd
11 changed files with 24 additions and 33 deletions

View File

@@ -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();