From 8b2d415c0f287036a98b99aee0023281bc15e45e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Mar 2016 15:18:55 +0100 Subject: [PATCH] Formatting fix --- Module/ModuleManager.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Module/ModuleManager.php b/Module/ModuleManager.php index 105f91a24..93ceff9b5 100644 --- a/Module/ModuleManager.php +++ b/Module/ModuleManager.php @@ -220,10 +220,10 @@ class ModuleManager if ($this->active === null) { switch ($this->app->dbPool->get('core')->getType()) { case DatabaseType::MYSQL: - $sth = $this->app->dbPool->get('core')->con->prepare('SELECT `module_path` FROM `' . $this->app->dbPool->get('core')->prefix . 'module` WHERE `module_active` = 1'); - $sth->execute(); - $this->active = $sth->fetchAll(\PDO::FETCH_COLUMN); - break; + $sth = $this->app->dbPool->get('core')->con->prepare('SELECT `module_path` FROM `' . $this->app->dbPool->get('core')->prefix . 'module` WHERE `module_active` = 1'); + $sth->execute(); + $this->active = $sth->fetchAll(\PDO::FETCH_COLUMN); + break; } }