[Rt-commit] rt branch, 4.0/create-user-error-fix, created. rt-4.0.1rc1-18-gb924668
? sunnavy
sunnavy at bestpractical.com
Wed Jun 15 01:27:32 EDT 2011
The branch, 4.0/create-user-error-fix has been created
at b9246683c0074683677e8d0555f01b65f4324c6c (commit)
- Log -----------------------------------------------------------------
commit b9246683c0074683677e8d0555f01b65f4324c6c
Author: sunnavy <sunnavy at bestpractical.com>
Date: Wed Jun 15 13:15:24 2011 +0800
if failed to create, we should abort directly
diff --git a/share/html/Admin/Users/Modify.html b/share/html/Admin/Users/Modify.html
index 26123e7..0c0061f 100755
--- a/share/html/Admin/Users/Modify.html
+++ b/share/html/Admin/Users/Modify.html
@@ -284,7 +284,7 @@ else {
}
push @results, ProcessObjectCustomFieldUpdates( ARGSRef => \%ARGS, Object => $UserObj );
} else {
- push @results, loc('User could not be created: [_1]', $msg);
+ Abort( loc('User could not be created: [_1]', $msg) );
}
} else {
$UserObj->Load($id) || $UserObj->Load($Name)
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list