diff options
author | lpsolit%gmail.com <> | 2006-09-04 05:32:22 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-09-04 05:32:22 +0200 |
commit | b22bc5090e62d544445288a31bc4b959bac93eef (patch) | |
tree | 207242a60028914e2c4b4ce54e16a1d19510fb85 /editusers.cgi | |
parent | 9d96ac724457e849dcc01c9fb1b87128a6b75e05 (diff) | |
download | bugzilla-b22bc5090e62d544445288a31bc4b959bac93eef.tar.gz bugzilla-b22bc5090e62d544445288a31bc4b959bac93eef.tar.xz |
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-x | editusers.cgi | 10 |
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); |