From 6d6d91fd5862fe5d4be813301fd2932bcdde7ae2 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Mon, 3 Mar 2025 21:24:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=AF=BB=E5=8F=96=E4=BC=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common.php b/app/common.php index 2d769f956..0e548c1aa 100755 --- a/app/common.php +++ b/app/common.php @@ -3378,7 +3378,7 @@ function MyC($key, $default = '', $mandatory = false) return $default; } // 2. 未设置则默认值 - if($mandatory === true && $cache_config_data[$key] === null) + if($mandatory === true && ($cache_config_data[$key] === null || $cache_config_data[$key] === '')) { return $default; }