Fixing style errors.

This commit is contained in:
stickler-ci 2021-09-21 16:49:00 +00:00
parent c4dd6be9f8
commit 12be914d04

View File

@ -392,13 +392,13 @@ class FormFile
global $form;
$reshook = 0;
if (is_object($hookmanager)){
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');
}
}
}
// Remode default action if $reskook > 0
if ($reshook > 0) {