diff --git a/core/includes/config.inc b/core/includes/config.inc index bbd9aa4772e..8e24b79575e 100755 --- a/core/includes/config.inc +++ b/core/includes/config.inc @@ -454,7 +454,7 @@ class DrupalVerifiedStorageSQL extends DrupalConfigVerifiedStorage { // read without actually having the database available. This is a // workaround and there is probably a better solution to be had at // some point. - if (!empty($GLOBALS['databases']) && !drupal_installation_attempted()) { + if (!empty($GLOBALS['databases']) && db_table_exists('config')) { return db_query('SELECT data FROM {config} WHERE name = :name', array(':name' => $this->name))->fetchField(); } }