summaryrefslogtreecommitdiff
path: root/app/Model/TaskLink.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-27 00:00:43 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-27 00:00:43 -0400
commit1823430d13508fec5de39264bb4fe1224716def2 (patch)
treef911a412f1b8be2471bcb66c7fed8adf675c8d4a /app/Model/TaskLink.php
parent7a22f4c6d47a3e5d447ebeeef094092a4a4b0ad2 (diff)
PicoDb update
Diffstat (limited to 'app/Model/TaskLink.php')
-rw-r--r--app/Model/TaskLink.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskLink.php b/app/Model/TaskLink.php
index 251460c9..435bd0e5 100644
--- a/app/Model/TaskLink.php
+++ b/app/Model/TaskLink.php
@@ -133,7 +133,7 @@ class TaskLink extends Base
'link_id' => $link_id,
));
- $task_link_id = $this->db->getConnection()->getLastId();
+ $task_link_id = $this->db->getLastId();
// Create the opposite task link
$this->db->table(self::TABLE)->insert(array(