From cec53147c0345107fd88f4b04e1097fdb7ccdd6a Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 6 Apr 2023 23:32:34 +0200 Subject: [PATCH] cosmetic --- src/Core.php | 4 ++-- src/Manage.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {