mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 21:28:40 +00:00
Formatting fix
This commit is contained in:
parent
c3e60a3070
commit
8b2d415c0f
|
|
@ -220,10 +220,10 @@ class ModuleManager
|
||||||
if ($this->active === null) {
|
if ($this->active === null) {
|
||||||
switch ($this->app->dbPool->get('core')->getType()) {
|
switch ($this->app->dbPool->get('core')->getType()) {
|
||||||
case DatabaseType::MYSQL:
|
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 = $this->app->dbPool->get('core')->con->prepare('SELECT `module_path` FROM `' . $this->app->dbPool->get('core')->prefix . 'module` WHERE `module_active` = 1');
|
||||||
$sth->execute();
|
$sth->execute();
|
||||||
$this->active = $sth->fetchAll(\PDO::FETCH_COLUMN);
|
$this->active = $sth->fetchAll(\PDO::FETCH_COLUMN);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user