From 948b7fbaaa58c0a825938f7e8bda9a07ec39239b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 10:11:07 -0500 Subject: Add mandatory argument "project_id" to API method "updateSwimlane()" --- app/Controller/SwimlaneController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') diff --git a/app/Controller/SwimlaneController.php b/app/Controller/SwimlaneController.php index 93d19188..d99cfa7a 100644 --- a/app/Controller/SwimlaneController.php +++ b/app/Controller/SwimlaneController.php @@ -125,7 +125,7 @@ class SwimlaneController extends BaseController list($valid, $errors) = $this->swimlaneValidator->validateModification($values); if ($valid) { - if ($this->swimlaneModel->update($values)) { + if ($this->swimlaneModel->update($values['id'], $values)) { $this->flash->success(t('Swimlane updated successfully.')); return $this->response->redirect($this->helper->url->to('SwimlaneController', 'index', array('project_id' => $project['id']))); } else { -- cgit v1.2.3