cosmetic
parent
7bc5d8989f
commit
cec53147c0
|
@ -108,9 +108,9 @@ class Core
|
|||
if ($rs->isEmpty()) {
|
||||
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 : [];
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@ class Manage extends dcNsProcess
|
|||
}
|
||||
|
||||
$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') {
|
||||
uasort($modules, fn ($a, $b) => strtolower($a->getId()) <=> strtolower($b->getId()));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue