This commit is contained in:
jacek 2015-06-09 14:33:49 +02:00
parent 0c7cfe261d
commit 51e19100e1

View file

@ -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 );
}