diff --git a/setup/sql/mysql_upgrade_beta.inc.php b/setup/sql/mysql_upgrade_beta.inc.php index 23bd93ff90..98001e20a1 100644 --- a/setup/sql/mysql_upgrade_beta.inc.php +++ b/setup/sql/mysql_upgrade_beta.inc.php @@ -755,7 +755,7 @@ $db->query($sql); 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 diff --git a/setup/sql/pgsql_upgrade_beta.inc.php b/setup/sql/pgsql_upgrade_beta.inc.php index e8be84df46..d0b9bd9ebd 100644 --- a/setup/sql/pgsql_upgrade_beta.inc.php +++ b/setup/sql/pgsql_upgrade_beta.inc.php @@ -768,7 +768,7 @@ $db->query($sql); 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