From 1823430d13508fec5de39264bb4fe1224716def2 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 27 Jun 2015 00:00:43 -0400 Subject: PicoDb update --- app/Model/TaskLink.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model/TaskLink.php') 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( -- cgit v1.2.3