From b8293b1fddad92c07e10e1a4661d8087fdc842c9 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 31 Jul 2015 11:04:00 +0200 Subject: [PATCH] WebWizard: Be less error-prone while calling array_search --- modules/setup/library/Setup/WebWizard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setup/library/Setup/WebWizard.php b/modules/setup/library/Setup/WebWizard.php index 00956d108..ef84e556d 100644 --- a/modules/setup/library/Setup/WebWizard.php +++ b/modules/setup/library/Setup/WebWizard.php @@ -284,7 +284,7 @@ class WebWizard extends Wizard implements SetupWizard try { $db->connectToDb(); // Are we able to login on the database? - if (array_search(reset($this->databaseTables), $db->listTables()) === false) { + if (array_search(reset($this->databaseTables), $db->listTables(), true) === false) { // In case the database schema does not yet exist the // user needs the privileges to setup the database $skip = $db->checkPrivileges($this->databaseSetupPrivileges, $this->databaseTables);