aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-09-04 03:32:22 +0000
committerlpsolit%gmail.com <>2006-09-04 03:32:22 +0000
commitb22bc5090e62d544445288a31bc4b959bac93eef (patch)
tree207242a60028914e2c4b4ce54e16a1d19510fb85 /editusers.cgi
parentBug 347096: Create Bugzilla->localconfig and replace most read_localconfig ca... (diff)
downloadbugzilla-b22bc5090e62d544445288a31bc4b959bac93eef.tar.gz
bugzilla-b22bc5090e62d544445288a31bc4b959bac93eef.tar.bz2
bugzilla-b22bc5090e62d544445288a31bc4b959bac93eef.zip
Bug 351182: Odd number of elements in anonymous hash in editusers.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 4663b18ee..5e990d416 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -192,11 +192,11 @@ if ($action eq 'search') {
object => "users"});
my $new_user = Bugzilla::User->create({
- login_name => $cgi->param('login'),
- cryptpassword => $cgi->param('password'),
- realname => $cgi->param('name'),
- disabledtext => $cgi->param('disabledtext'),
- disable_mail => $cgi->param('disable_mail')});
+ login_name => scalar $cgi->param('login'),
+ cryptpassword => scalar $cgi->param('password'),
+ realname => scalar $cgi->param('name'),
+ disabledtext => scalar $cgi->param('disabledtext'),
+ disable_mail => scalar $cgi->param('disable_mail')});
userDataToVars($new_user->id);