mirror of
https://github.com/processwire/processwire.git
synced 2025-08-25 15:51:37 +02:00
Fix issue processwire/processwire-issues#1426
This commit is contained in:
@@ -1064,7 +1064,9 @@ class InputfieldFile extends Inputfield implements InputfieldItemList, Inputfiel
|
||||
foreach($inputfields->getAll() as $f) {
|
||||
/** @var Inputfield $f */
|
||||
foreach($f->getErrors(true) as $error) {
|
||||
$f->error("$this->label ($pagefile->name): $error");
|
||||
$msg = "$this->label ($pagefile->name): $error";
|
||||
$this->error($msg);
|
||||
$f->error($msg);
|
||||
}
|
||||
if(!$f->isChanged() && !$pagefile->isTemp()) {
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user