X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fhtml%2FAdmin%2FUsers%2FModify.html;h=5fb941114c86ebd71a72ad89feb694b55e18e1cf;hp=370c2e82d77e117e412a528d2f9d14dd257b7230;hb=c582e92888b4a5553e1b4e5214cf35217e4a0cf0;hpb=945721f48f74d5cfffef7c7cf3a3d6bc2521f5dd diff --git a/rt/html/Admin/Users/Modify.html b/rt/html/Admin/Users/Modify.html index 370c2e82d..5fb941114 100644 --- a/rt/html/Admin/Users/Modify.html +++ b/rt/html/Admin/Users/Modify.html @@ -25,7 +25,7 @@ <& /Admin/Elements/UserTabs, id => $id, UserObj => $UserObj, - current_subtab => $current_tab, + current_tab => $current_tab, Title => $title &> <& /Elements/ListActions, actions => \@results &> @@ -197,7 +197,7 @@ -<& /Elements/Submit &> +<& /Elements/Submit, Label => loc('Save Changes') &> <%INIT> @@ -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(); } @@ -241,8 +243,6 @@ else { $Create = 1; } - - }