From 15abe29625aa78fb3cf90a3fc191736437be40bb Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Mon, 28 Oct 2024 08:34:10 +0000 Subject: [PATCH] * [bug] fix equal in php72. --- module/bi/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bi/model.php b/module/bi/model.php index 581cadd637..6ab3b199b5 100644 --- a/module/bi/model.php +++ b/module/bi/model.php @@ -1991,7 +1991,7 @@ class biModel extends model $totalLang = $this->lang->pivot->total; $totalColspan = 0; - foreach($rowData as $value) if($value == $totalLang) $totalColspan++; + foreach($rowData as $value) if($value === $totalLang) $totalColspan++; for($i = 0; $i < count($rowData); $i++) {