cosmetic
This commit is contained in:
parent
7bc5d8989f
commit
cec53147c0
2 changed files with 3 additions and 3 deletions
|
@ -108,9 +108,9 @@ class Core
|
||||||
if ($rs->isEmpty()) {
|
if ($rs->isEmpty()) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
dcCore::app()->log->delLogs($rs->__get('log_id'));
|
dcCore::app()->log->delLogs($rs->f('log_id'));
|
||||||
|
|
||||||
$res = json_decode($rs->__get('log_msg'), true);
|
$res = json_decode($rs->f('log_msg'), true);
|
||||||
|
|
||||||
return is_array($res) ? $res : [];
|
return is_array($res) ? $res : [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,7 +129,7 @@ class Manage extends dcNsProcess
|
||||||
}
|
}
|
||||||
|
|
||||||
$combo_modules = [];
|
$combo_modules = [];
|
||||||
$modules = self::$type == 'plugin' ? dcCore::app()->plugins->getDefines() : dcCore::app()->themes->getDefines();
|
$modules = self::$type == 'plugin' ? dcCore::app()->plugins->getDefines() : dcCore::app()->themes->getDefines();
|
||||||
if (dcCore::app()->blog->settings->get(My::id())->get('combosortby') == 'id') {
|
if (dcCore::app()->blog->settings->get(My::id())->get('combosortby') == 'id') {
|
||||||
uasort($modules, fn ($a, $b) => strtolower($a->getId()) <=> strtolower($b->getId()));
|
uasort($modules, fn ($a, $b) => strtolower($a->getId()) <=> strtolower($b->getId()));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue