diff --git a/src/EntityImporter.php b/src/EntityImporter.php index ad84fd3..4522f8d 100644 --- a/src/EntityImporter.php +++ b/src/EntityImporter.php @@ -152,7 +152,7 @@ private function getBadgeItems( array $entities ) { continue; } - foreach( $entity->getSiteLinks() as $siteLink ) { + foreach( $entity->getSiteLinkList() as $siteLink ) { foreach( $siteLink->getBadges() as $badge ) { $badgeItems[] = $badge->getSerialization(); }