From: gerv%gerv.net <> Date: Fri, 1 Apr 2005 06:48:28 +0000 (+0000) Subject: Bug 288408 - make number of placeholders match number of parameters to stop error... X-Git-Tag: bugzilla-2.19.3~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b53d8ff17217f193e604a50f3a5c37b33fec5e3f;p=thirdparty%2Fbugzilla.git Bug 288408 - make number of placeholders match number of parameters to stop error when initialising from new database. Patch by gerv; r=mkanat, a=justdave. --- diff --git a/checksetup.pl b/checksetup.pl index 0d12c8256b..d33d812193 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -4222,7 +4222,7 @@ if ($sth->rows == 0) { $dbh->do( q{INSERT INTO profiles (login_name, realname, cryptpassword, disabledtext, refreshed_when) - VALUES (?, ?, ?, ?, ?, ?)}, + VALUES (?, ?, ?, ?, ?)}, undef, $login, $realname, $cryptedpassword, '', '1900-01-01 00:00:00'); }