summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-02-07 14:25:17 +0000
committerDries Buytaert <dries@buytaert.net>2005-02-07 14:25:17 +0000
commit77fbe802a40cf5575d30066c3b7dcefd90b830aa (patch)
treeef4926b4b125beb159db3fbc3cf84b1815aa3950 /update.php
parent1970f1d2a8e76795d61ecff081a12cfd57e11708 (diff)
downloadbrdo-77fbe802a40cf5575d30066c3b7dcefd90b830aa.tar.gz
brdo-77fbe802a40cf5575d30066c3b7dcefd90b830aa.tar.bz2
- Added missing {}. Reported by Bart.
Diffstat (limited to 'update.php')
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 3a00365be..ebfa650a2 100644
--- a/update.php
+++ b/update.php
@@ -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);