Fixed sql error

This commit is contained in:
jengo 2000-12-13 15:23:49 +00:00
parent 959b8bc4bd
commit 42acd6d40e
2 changed files with 2 additions and 2 deletions

View File

@ -755,7 +755,7 @@
$db->query($sql); $db->query($sql);
while ($tt = each($t)) { while ($tt = each($t)) {
$db->query("insert into preferences values ('$tt[0]','" . serialize($tt[1]) . "'"); $db->query("insert into preferences values ('$tt[0]','" . serialize($tt[1]) . "')");
} }
// upgrade code ends here // upgrade code ends here

View File

@ -768,7 +768,7 @@
$db->query($sql); $db->query($sql);
while ($tt = each($t)) { while ($tt = each($t)) {
$db->query("insert into preferences values ('$tt[0]','" . serialize($tt[1]) . "'"); $db->query("insert into preferences values ('$tt[0]','" . serialize($tt[1]) . "')");
} }
// upgrade code ends here // upgrade code ends here