summaryrefslogtreecommitdiff
path: root/rt/html/Admin/Users/Modify.html
diff options
context:
space:
mode:
Diffstat (limited to 'rt/html/Admin/Users/Modify.html')
-rw-r--r--rt/html/Admin/Users/Modify.html8
1 files changed, 5 insertions, 3 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();
}