summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerv%gerv.net <>2005-04-01 08:48:28 +0200
committergerv%gerv.net <>2005-04-01 08:48:28 +0200
commitb53d8ff17217f193e604a50f3a5c37b33fec5e3f (patch)
treed58e261d376c4518b1b7a51cb8bde27e09cf1f31
parent1b7fca4465afeced6cb4120ebe11154a6ea46389 (diff)
downloadbugzilla-b53d8ff17217f193e604a50f3a5c37b33fec5e3f.tar.gz
bugzilla-b53d8ff17217f193e604a50f3a5c37b33fec5e3f.tar.xz
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.
-rwxr-xr-xchecksetup.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 0d12c8256..d33d81219 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');
}