[Rt-commit] r2749 - in rt/branches/3.4-RELEASE: . html/Admin/Users
jesse at bestpractical.com
jesse at bestpractical.com
Sun Apr 17 21:58:27 EDT 2005
Author: jesse
Date: Sun Apr 17 21:58:26 2005
New Revision: 2749
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html
Log:
r13207 at hualien: jesse | 2005-04-17 21:57:31 -0400
RT-Ticket: 6597
RT-Status: resolved
RT-Update correspond
* CanonicalizeUserInfo didn't work right from RT's WebUI.
Fixed by Dave Rolsky.
Modified: rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html
==============================================================================
--- rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html (original)
+++ rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html Sun Apr 17 21:58:26 2005
@@ -292,8 +292,6 @@
push @results, loc('User could not be created: [_1]', $msg);
}
- # 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();
@@ -373,6 +371,11 @@
}
# }}}
+
+# set the id, so the the menu will have the right info, this needs to
+# be done here to avoid creating and then modifying a user
+$id = $UserObj->Id;
+
</%INIT>
More information about the Rt-commit
mailing list