mirror of
https://github.com/processwire/processwire.git
synced 2025-08-26 08:04:38 +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) {
|
foreach($inputfields->getAll() as $f) {
|
||||||
/** @var Inputfield $f */
|
/** @var Inputfield $f */
|
||||||
foreach($f->getErrors(true) as $error) {
|
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()) {
|
if(!$f->isChanged() && !$pagefile->isTemp()) {
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user