From 90f2bfcef345c44923f2b303e9bb24348a951564 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 7 Jun 2024 10:48:34 +0800 Subject: [PATCH] * [perf] Fix style. --- module/install/ui/step1.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/install/ui/step1.html.php b/module/install/ui/step1.html.php index 9b84fcbe1c..0b6326a533 100644 --- a/module/install/ui/step1.html.php +++ b/module/install/ui/step1.html.php @@ -21,7 +21,7 @@ foreach($extendItems as $extendItem) $failLang = $extendItem . 'Fail'; $resultClass = $result == 'ok' ? 'bg-success' : 'bg-danger'; - if($extendItem == 'apcu') $resultClass = 'bg-warning'; + if($extendItem == 'apcu' && $result != 'ok') $resultClass = 'bg-warning'; $checkTrs[] = h::tr (