import of rt 3.0.9
[freeside.git] / rt / html / Admin / Users / Modify.html
index 370c2e8..b424ae9 100644 (file)
@@ -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();
     }