Update html.formfile.class.php

This commit is contained in:
fr69400 2021-09-21 19:15:54 +02:00 committed by GitHub
parent 12be914d04
commit fd911ff36f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -394,7 +394,7 @@ class FormFile
$reshook = 0;
if (is_object($hookmanager)) {
$parameters = array();
+ $reshook = $hookmanager->executeHooks('showdocuments', $parameters, $object);
$reshook = $hookmanager->executeHooks('showdocuments', $parameters, $object);
// May report error
if ($reshook < 0) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');