From 6721bc580a8d22534c8d8e9d523b2a7483cc6866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 22 Aug 2007 08:36:34 +0000 Subject: #166593 by hswong3i: move literal values out of some core queries to support cross-database compatibility (ie. better SQL parsing and altering options) --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.php') diff --git a/install.php b/install.php index 0268ae6e1..603db7db5 100644 --- a/install.php +++ b/install.php @@ -126,7 +126,7 @@ function install_main() { */ function install_verify_drupal() { // Read the variable manually using the @ so we don't trigger an error if it fails. - $result = @db_query("SELECT value FROM {variable} WHERE name = 'install_task'"); + $result = @db_query("SELECT value FROM {variable} WHERE name = '%s'", 'install_task'); if ($result) { return unserialize(db_result($result)); } -- cgit v1.2.3