fixes bug 36, any user you edit overwrites your own account
This commit is contained in:
parent
cc25707e0a
commit
5355d9b74c
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue