summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-18 10:11:07 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-18 10:11:07 -0500
commit948b7fbaaa58c0a825938f7e8bda9a07ec39239b (patch)
tree15eb1d245dac847d92c606fff85c65a7d9e0f79b /app/Controller
parentde128dbad860478496a0d655b5eb5c1005ebbabe (diff)
Add mandatory argument "project_id" to API method "updateSwimlane()"
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/SwimlaneController.php2
1 files changed, 1 insertions, 1 deletions
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 {