summaryrefslogtreecommitdiff
path: root/app/Model/CustomFilter.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/CustomFilter.php')
-rw-r--r--app/Model/CustomFilter.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Model/CustomFilter.php b/app/Model/CustomFilter.php
index 3a6a1a3a..9d409bd4 100644
--- a/app/Model/CustomFilter.php
+++ b/app/Model/CustomFilter.php
@@ -2,6 +2,8 @@
namespace Kanboard\Model;
+use Kanboard\Core\Base;
+
/**
* Custom Filter model
*
@@ -71,7 +73,7 @@ class CustomFilter extends Base
*/
public function create(array $values)
{
- return $this->persist(self::TABLE, $values);
+ return $this->db->table(self::TABLE)->persist($values);
}
/**