no message

This commit is contained in:
kuaifan 2025-02-24 10:41:35 +08:00
parent 125ce036cd
commit 707f1dd6cb

View File

@ -314,7 +314,7 @@ class SystemController extends AbstractController
//
if (env("SYSTEM_SETTING") == 'disabled') {
foreach ($setting as $key => $item) {
if (str_contains($key, '_key')) {
if (str_contains($key, '_key') && $item) {
$setting[$key] = substr($item, 0, 4) . str_repeat('*', strlen($item) - 8) . substr($item, -4);
}
}