fixes bug 36, any user you edit overwrites your own account

This commit is contained in:
Ryan Walberg 2012-12-13 03:49:56 +00:00
parent cc25707e0a
commit 5355d9b74c
2 changed files with 2 additions and 1 deletions

View file

@ -197,6 +197,7 @@ while ($row = $stmt->fetch()) {
}
$smarty->assign('action', $action);
$smarty->assign('edituserid', (int) $_GET["userid"]);
$smarty->assign('username', $username);
if (isset($username_error)) {
$smarty->assign('username_error', $username_error);