summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-22 08:36:34 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-22 08:36:34 +0000
commit6721bc580a8d22534c8d8e9d523b2a7483cc6866 (patch)
tree1be466006203e0c1a44edb23c45a1dd8e1553245 /install.php
parent2f834f032a672f2aeb2109bc670a411e82515a0b (diff)
downloadbrdo-6721bc580a8d22534c8d8e9d523b2a7483cc6866.tar.gz
brdo-6721bc580a8d22534c8d8e9d523b2a7483cc6866.tar.bz2
#166593 by hswong3i: move literal values out of some core queries to support cross-database compatibility (ie. better SQL parsing and altering options)
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
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));
}