mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 07:47:00 +02:00
Fix issue processwire/processwire-issues#1977
This commit is contained in:
@@ -263,7 +263,7 @@ class FieldtypeFile extends FieldtypeMulti implements ConfigurableModule, Fieldt
|
||||
$inputfield = $event->object;
|
||||
$page = $event->options['page']; /** @var Page $page */
|
||||
$field = $event->options['field']; /** @var Field $field */
|
||||
$pagefiles = $page->get($field->name);
|
||||
$pagefiles = $page->getUnformatted($field->name);
|
||||
$inputfield->destinationPath = $pagefiles->path();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user