summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-11 18:49:36 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-11 18:49:36 -0500
commit6fdf5894559ed24607658c5beab44853cc876482 (patch)
treea1f8a28a5ae1bcc01357aa5c5ee2426d04a16bda /models
parenta3f365a32458d34efbc25df32fa224ae69882d77 (diff)
Remove php notice
Diffstat (limited to 'models')
-rw-r--r--models/board.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/board.php b/models/board.php
index 4a46d6c5..66e6998f 100644
--- a/models/board.php
+++ b/models/board.php
@@ -39,7 +39,7 @@ class Board extends Base
$values = array(
'title' => $title,
- 'position' => ++$i,
+ 'position' => ++$position,
'project_id' => $project_id,
);