From 37e0b1a825434ffda71f50a7ff54bfa0d2860da9 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 5 Jul 2023 16:08:11 +0800 Subject: [PATCH] * Fix project list error. --- framework/helper.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/helper.class.php b/framework/helper.class.php index c5557cb237..5a4aad03ca 100644 --- a/framework/helper.class.php +++ b/framework/helper.class.php @@ -604,7 +604,7 @@ function initTableData(array $items, array &$fieldList, object $model = null): a $item->isParent = true; } - if(!empty($item->parent) && !isset($items[$item->parent])) $items->parent = ''; + if(!empty($item->parent) && !isset($items[$item->parent])) $item->parent = ''; if(!empty($item->parent) && isset($items[$item->parent])) $items[$item->parent]->isParent = true; if(count($item->actions) > $maxActionCount) $maxActionCount = count($item->actions);