summaryrefslogtreecommitdiff
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
parenta3f365a32458d34efbc25df32fa224ae69882d77 (diff)
Remove php notice
-rw-r--r--models/board.php2
-rw-r--r--templates/user_edit.php2
2 files changed, 2 insertions, 2 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,
);
diff --git a/templates/user_edit.php b/templates/user_edit.php
index a6f5d600..d9901e4e 100644
--- a/templates/user_edit.php
+++ b/templates/user_edit.php
@@ -6,7 +6,7 @@
</ul>
</div>
<section>
- <form method="post" action="?controller=user&amp;action=update&amp;username=<?= Helper\escape($username) ?>" autocomplete="off">
+ <form method="post" action="?controller=user&amp;action=update" autocomplete="off">
<?= Helper\form_hidden('id', $values) ?>