From 243e72474bd0c87b8647efe1edeb1116a0a5fcd0 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 17 Sep 2014 14:47:41 +0200 Subject: Improve board API calls --- app/Controller/Board.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') 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']); } -- cgit v1.2.3