1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-25 15:51:37 +02:00
This commit is contained in:
Ryan Cramer
2021-08-20 10:52:26 -04:00
parent 4123181bd5
commit 6c8d35f18d

View File

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