Update html.formfile.class.php
This commit is contained in:
parent
12be914d04
commit
fd911ff36f
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user