mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 06:48:41 +00:00
Remove double column select
This commit is contained in:
parent
3db3073061
commit
631260428d
|
|
@ -532,7 +532,7 @@ class ModuleManager
|
||||||
if ($this->installed === null) {
|
if ($this->installed === 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_id`,`module_theme`,`module_version`,`module_id` FROM `' . $this->app->dbPool->get('core')->prefix . 'module`');
|
$sth = $this->app->dbPool->get('core')->con->prepare('SELECT `module_id`,`module_theme`,`module_version` FROM `' . $this->app->dbPool->get('core')->prefix . 'module`');
|
||||||
$sth->execute();
|
$sth->execute();
|
||||||
$this->installed = $sth->fetchAll(\PDO::FETCH_GROUP);
|
$this->installed = $sth->fetchAll(\PDO::FETCH_GROUP);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user