* Fix project list error.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user