mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Formatting fix
This commit is contained in:
parent
c3e60a3070
commit
8b2d415c0f
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user