From 77fbe802a40cf5575d30066c3b7dcefd90b830aa Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Mon, 7 Feb 2005 14:25:17 +0000
Subject: [PATCH] - Added missing {}.  Reported by Bart.

---
 update.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update.php b/update.php
index 3a00365be12f..ebfa650a2a36 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);
-- 
GitLab