diff options
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php index f99987807..8b3e52ebe 100644 --- a/install.php +++ b/install.php @@ -756,8 +756,8 @@ function install_system_module(&$install_state) { */ function install_verify_completed_task() { try { - if ($result = db_query("SELECT value FROM {variable} WHERE name = '%s'", 'install_task')) { - $task = unserialize(db_result($result)); + if ($result = db_query("SELECT value FROM {variable} WHERE name = :name", array('name' => 'install_task'))) { + $task = unserialize($result->fetchField()); } } // Do not trigger an error if the database query fails, since the database |