[Rt-commit] r2766 - in rt/branches/QUEBEC-EXPERIMENTAL: . html/Admin/Users

jesse at bestpractical.com jesse at bestpractical.com
Sun Apr 17 23:15:08 EDT 2005


Author: jesse
Date: Sun Apr 17 23:15:08 2005
New Revision: 2766

Modified:
   rt/branches/QUEBEC-EXPERIMENTAL/   (props changed)
   rt/branches/QUEBEC-EXPERIMENTAL/html/Admin/Users/Modify.html
Log:
 r13220 at hualien:  jesse | 2005-04-17 23:09:10 -0400
  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/QUEBEC-EXPERIMENTAL/html/Admin/Users/Modify.html
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Admin/Users/Modify.html	(original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Admin/Users/Modify.html	Sun Apr 17 23:15:08 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