diff options
Diffstat (limited to 'app/Model/TaskExternalLink.php')
-rw-r--r-- | app/Model/TaskExternalLink.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Model/TaskExternalLink.php b/app/Model/TaskExternalLink.php index f2c756b4..f77a72bf 100644 --- a/app/Model/TaskExternalLink.php +++ b/app/Model/TaskExternalLink.php @@ -2,6 +2,8 @@ namespace Kanboard\Model; +use Kanboard\Core\Base; + /** * Task External Link Model * @@ -69,7 +71,7 @@ class TaskExternalLink extends Base $values['date_creation'] = time(); $values['date_modification'] = $values['date_creation']; - return $this->persist(self::TABLE, $values); + return $this->db->table(self::TABLE)->persist($values); } /** |