File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -356,20 +356,20 @@ public function getImages()
356
356
public function getImage ()
357
357
{
358
358
if ($ this ->config ['getBiggerImage ' ]) {
359
- $ images = $ this ->images ;
359
+ $ allImages = $ this ->images ;
360
360
361
- if (empty ($ images )) {
361
+ if (empty ($ allImages )) {
362
362
return ;
363
363
}
364
364
365
- $ images = [$ images ];
365
+ $ allImages = [$ allImages ];
366
366
} else {
367
- $ images = Utils::sortByProviders ($ this ->images );
367
+ $ allImages = Utils::sortByProviders ($ this ->images );
368
368
}
369
369
370
- foreach ($ images as $ image ) {
371
- if (($ key = Utils::getBiggerValue ($ image , true )) !== null ) {
372
- $ image = $ this -> images [$ key ];
370
+ foreach ($ allImages as $ images ) {
371
+ if (($ key = Utils::getBiggerValue ($ images , true )) !== null ) {
372
+ $ image = $ images [$ key ];
373
373
374
374
if (($ image ['width ' ] >= $ this ->config ['minImageWidth ' ]) && ($ image ['height ' ] >= $ this ->config ['minImageHeight ' ])) {
375
375
return $ image ['value ' ];
You can’t perform that action at this time.
0 commit comments