From: terry%netscape.com <> Date: Thu, 17 Sep 1998 07:21:07 +0000 (+0000) Subject: Bug fix by Brian Jones -- was failing to create new users. X-Git-Tag: bugzilla-1.3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b88aac2747e311bf2e5b7294fe857bf52d667718;p=thirdparty%2Fbugzilla.git Bug fix by Brian Jones -- was failing to create new users. --- diff --git a/globals.pl b/globals.pl index 194d00d071..2a33aa9c4e 100644 --- a/globals.pl +++ b/globals.pl @@ -326,7 +326,7 @@ sub InsertNewUser { for (my $i=0 ; $i<8 ; $i++) { $password .= substr("abcdefghijklmnopqrstuvwxyz", int(rand(26)), 1); } - SendSQL("insert into profiles (login_name, password, cryptpassword) values (@{[SqlQuote($username)]}, '$password', encrypt('$password')"); + SendSQL("insert into profiles (login_name, password, cryptpassword) values (@{[SqlQuote($username)]}, '$password', encrypt('$password'))"); return $password; }