WebWizard: Be less error-prone while calling array_search

This commit is contained in:
Johannes Meyer 2015-07-31 11:04:00 +02:00
parent c32b749701
commit b8293b1fdd
1 changed files with 1 additions and 1 deletions

View File

@ -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);