diff options
-rw-r--r-- | models/board.php | 2 | ||||
-rw-r--r-- | templates/user_edit.php | 2 |
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&action=update&username=<?= Helper\escape($username) ?>" autocomplete="off"> + <form method="post" action="?controller=user&action=update" autocomplete="off"> <?= Helper\form_hidden('id', $values) ?> |