Update html.formfile.class.php
This commit is contained in:
parent
12be914d04
commit
fd911ff36f
@ -394,7 +394,7 @@ class FormFile
|
|||||||
$reshook = 0;
|
$reshook = 0;
|
||||||
if (is_object($hookmanager)) {
|
if (is_object($hookmanager)) {
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
+ $reshook = $hookmanager->executeHooks('showdocuments', $parameters, $object);
|
$reshook = $hookmanager->executeHooks('showdocuments', $parameters, $object);
|
||||||
// May report error
|
// May report error
|
||||||
if ($reshook < 0) {
|
if ($reshook < 0) {
|
||||||
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user