summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-17 14:47:41 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-17 14:47:41 +0200
commit243e72474bd0c87b8647efe1edeb1116a0a5fcd0 (patch)
tree11630e7879c012f64c8b457e37110ada67c10e83 /app/Controller
parente7a20b9d8f8d7c47173c59782c5bd24a0ba6cac9 (diff)
Improve board API calls
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Board.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Board.php b/app/Controller/Board.php
index 2ee43c76..f643408d 100644
--- a/app/Controller/Board.php
+++ b/app/Controller/Board.php
@@ -328,7 +328,7 @@ class Board extends Base
if ($valid) {
- if ($this->board->add($data)) {
+ if ($this->board->addColumn($project['id'], $data['title'])) {
$this->session->flash(t('Board updated successfully.'));
$this->response->redirect('?controller=board&action=edit&project_id='.$project['id']);
}