From 8256f70c3cb1a2e0d57276b1d16cba1f673ad6f8 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 27 May 2025 06:27:24 +0000 Subject: [PATCH] * [bug#62861,done,0.2h] fix bug. --- module/pivot/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/pivot/model.php b/module/pivot/model.php index 3c2e36c4f0..3a0536d52b 100644 --- a/module/pivot/model.php +++ b/module/pivot/model.php @@ -1224,7 +1224,7 @@ class pivotModel extends model public function addRowSummary(array $groupTree, array $data, array $groups, int $currentGroup = 0): array { $first = reset($groupTree); - if(is_string($first)) + if(is_scalar($first)) { $groupData = array(); $rows = array();