diff options
Diffstat (limited to 'app/Model/TaskLink.php')
-rw-r--r-- | app/Model/TaskLink.php | 2 |
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( |