- Added missing {}. Reported by Bart.

4.6.x
Dries Buytaert 2005-02-07 14:25:17 +00:00
parent 1970f1d2a8
commit 77fbe802a4
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ function update_page() {
// NOTE: We need the following five lines in order to fix a bug with
// database.mysql (issue #15337). We should be able to remove
// this work around in the future.
$result = db_query("SELECT * FROM variable WHERE name = 'update_start' AND value LIKE '%;\"'");
$result = db_query("SELECT * FROM {variable} WHERE name = 'update_start' AND value LIKE '%;\"'");
if ($variable = db_fetch_object($result)) {
$variable->value = unserialize(substr($variable->value, 0, -2) .'";');
variable_set('update_start', $variable->value);