1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 07:47:00 +02:00
This commit is contained in:
Ryan Cramer
2024-11-22 09:32:33 -05:00
parent fb641fae89
commit 57388db576

View File

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