From b22bc5090e62d544445288a31bc4b959bac93eef Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 4 Sep 2006 03:32:22 +0000 Subject: Bug 351182: Odd number of elements in anonymous hash in editusers.cgi - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editusers.cgi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'editusers.cgi') 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); -- cgit v1.2.3-65-gdbad