Merge pull request #18271 from Hystepik/develop_v14#2
Fix a bug in ecm for v14
This commit is contained in:
commit
07c4c36520
@ -1182,7 +1182,7 @@ class FormFile
|
|||||||
);
|
);
|
||||||
$reshook = $hookmanager->executeHooks('showFilesList', $parameters, $object);
|
$reshook = $hookmanager->executeHooks('showFilesList', $parameters, $object);
|
||||||
|
|
||||||
if (isset($reshook) && $reshook != '') { // null or '' for bypass
|
if (!empty($reshook)) { // null or '' for bypass
|
||||||
return $reshook;
|
return $reshook;
|
||||||
} else {
|
} else {
|
||||||
if (!is_object($form)) {
|
if (!is_object($form)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user