fix DocumentPreview on holiday documents

This commit is contained in:
Christian Foellmann
2021-11-04 13:57:47 +01:00
parent 960319fd8a
commit 58ae45a88b
2 changed files with 2 additions and 2 deletions

View File

@@ -1373,7 +1373,7 @@ class FormFile
}
// Preview link
if (!$editline) {
print $this->showPreview($file, $modulepart, $filepath, 0, '&entity='.(!empty($object->entity) ? $object->entity : $conf->entity));
print $this->showPreview($file, $modulepart, $filepath, 0, 'entity='.(!empty($object->entity) ? $object->entity : $conf->entity));
}
print "</td>\n";