summaryrefslogtreecommitdiff
path: root/rt/html/Admin/Users
diff options
context:
space:
mode:
Diffstat (limited to 'rt/html/Admin/Users')
-rw-r--r--rt/html/Admin/Users/Modify.html8
-rw-r--r--rt/html/Admin/Users/index.html2
2 files changed, 6 insertions, 4 deletions
diff --git a/rt/html/Admin/Users/Modify.html b/rt/html/Admin/Users/Modify.html
index 370c2e82d..b424ae961 100644
--- a/rt/html/Admin/Users/Modify.html
+++ b/rt/html/Admin/Users/Modify.html
@@ -224,9 +224,11 @@ else {
} else {
push @results, loc('User could not be created: [_1]', $msg);
}
-
- }
- else {
+
+ # set the id, so the the menu will have the right info
+ $id = $UserObj->Id;
+
+ } else {
$UserObj->Load($id) || $UserObj->Load($Name) || Abort("Couldn't load user '$Name'");
$val = $UserObj->Id();
}
diff --git a/rt/html/Admin/Users/index.html b/rt/html/Admin/Users/index.html
index a95d4117d..7dc9af6c3 100644
--- a/rt/html/Admin/Users/index.html
+++ b/rt/html/Admin/Users/index.html
@@ -40,7 +40,7 @@
</UL>
<br><br>
-<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Users/">
+<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Users/index.html">
<&|/l&>Find people whose</&> <& /Elements/SelectUsers &><BR>
<input type="checkbox" name="FindDisabledUsers"> <&|/l&>Include disabled users in search.</&>