mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
PR fix
This commit is contained in:
parent
0c7cfe261d
commit
51e19100e1
|
@ -16,7 +16,7 @@ class PortableInfoboxHooks {
|
|||
|
||||
$dataService = new PortableInfoboxDataService();
|
||||
$infoboxData = $dataService->getInfoboxDataByTitle( $articleTitle );
|
||||
$infoboxImages = $dataService->getImageListFromInfoboxData( $infoboxData );
|
||||
$infoboxImages = $dataService->getImageListFromInfoboxesData( $infoboxData );
|
||||
if ( !empty( $infoboxImages ) ) {
|
||||
$imageNamesArray = array_merge( $infoboxImages, (array) $imageNamesArray );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue