diff --git a/src/Core.php b/src/Core.php index 69903e4..3989935 100644 --- a/src/Core.php +++ b/src/Core.php @@ -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 : []; } diff --git a/src/Manage.php b/src/Manage.php index 409ce53..86fd5a5 100644 --- a/src/Manage.php +++ b/src/Manage.php @@ -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 {