Skip to content
Snippets Groups Projects
Commit c25322c2 authored by Miniontoby's avatar Miniontoby :writing_hand_tone1:
Browse files

Fixed the user id thing else it wont load

parent 0295ee31
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,9 @@ if ($i > 0) print end_table(); ...@@ -54,7 +54,9 @@ if ($i > 0) print end_table();
// on whether or not a username was submitted to the script. // on whether or not a username was submitted to the script.
$mode = empty($user->id) ? "Create" : "Edit"; $mode = empty($user->id) ? "Create" : "Edit";
print subtitle(sprintf(T_('%s a User'), T_($mode))); print subtitle(sprintf(T_('%s a User'), T_($mode)));
print start_form("{$app->issuer}manage_users/$mode?id={$user->id}"); $extra = "";
if (isset($_GET['user_id'])) $extra = "?id={$user->id}";
print start_form("{$app->issuer}manage_users/$mode$extra");
print start_table(); print start_table();
print table_row(T_("Firstname"), text_field("wfirstname", $user->firstname, 20, 20)); print table_row(T_("Firstname"), text_field("wfirstname", $user->firstname, 20, 20));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment