mirror of
https://github.com/processwire/processwire.git
synced 2025-08-23 06:44:38 +02:00
A couple of updates to account for new PHP 7.2/7.3 notices per processwire/processwire-issues#408
This commit is contained in:
@@ -443,7 +443,7 @@ class ProcessPageEditImageSelect extends Process implements ConfigurableModule {
|
||||
if(!$field->type instanceof FieldtypeImage) continue;
|
||||
$numImageFields++;
|
||||
$images = $page->getUnformatted($field->name);
|
||||
if(!count($images)) continue;
|
||||
if(!wireCount($images)) continue;
|
||||
|
||||
foreach($images as $image) {
|
||||
$numImages++;
|
||||
|
Reference in New Issue
Block a user