This commit is contained in:
daitingting
2024-04-19 02:20:34 +00:00
parent 1021c15869
commit e3a0a6aab0
+3 -1
View File
@@ -17,7 +17,9 @@ class relatedList extends wg
protected function getCommonItem(string $type, array $group, object $item): array
{
$title = isset($item->title) ? $item->title : $item->name;
$title = '';
if(isset($item->title)) $title = $item->title;
if(isset($item->name)) $title = $item->name;
$info = array
(
'title' => $title,