diff options
Diffstat (limited to 'app/Model/Category.php')
-rw-r--r-- | app/Model/Category.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Model/Category.php b/app/Model/Category.php index 1d5f6546..00690a41 100644 --- a/app/Model/Category.php +++ b/app/Model/Category.php @@ -2,6 +2,8 @@ namespace Kanboard\Model; +use Kanboard\Core\Base; + /** * Category model * @@ -148,7 +150,7 @@ class Category extends Base */ public function create(array $values) { - return $this->persist(self::TABLE, $values); + return $this->db->table(self::TABLE)->persist($values); } /** |