mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 07:47:00 +02:00
Fix issue processwire/processwire-issues#1993
This commit is contained in:
@@ -571,6 +571,7 @@ class ProcessPageEditLink extends Process implements ConfigurableModule {
|
||||
*/
|
||||
protected function ___getFilesPage(Page $page, $prefix = '') {
|
||||
$files = array();
|
||||
if(!$page->id) return $files;
|
||||
foreach($page->template->fieldgroup as $field) {
|
||||
/** @var Fieldtype $type */
|
||||
$type = $field->type;
|
||||
|
Reference in New Issue
Block a user