Commit b53d8ff1 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 288408 - make number of placeholders match number of parameters to stop…

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.
parent 1b7fca44
...@@ -4222,7 +4222,7 @@ if ($sth->rows == 0) { ...@@ -4222,7 +4222,7 @@ if ($sth->rows == 0) {
$dbh->do( $dbh->do(
q{INSERT INTO profiles (login_name, realname, cryptpassword, q{INSERT INTO profiles (login_name, realname, cryptpassword,
disabledtext, refreshed_when) disabledtext, refreshed_when)
VALUES (?, ?, ?, ?, ?, ?)}, VALUES (?, ?, ?, ?, ?)},
undef, $login, $realname, $cryptedpassword, undef, $login, $realname, $cryptedpassword,
'', '1900-01-01 00:00:00'); '', '1900-01-01 00:00:00');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment