diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 77a5ed7ba5a..e08dc1cd9c8 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -582,7 +582,7 @@ class FormFile ); $reshook=$hookmanager->executeHooks('showFilesList', $parameters, $object); - if (isset($reshook) && $reshook != '') // 0:not deleted, 1:deleted, null or '' for bypass + if (isset($reshook) && $reshook != '') // null or '' for bypass { return $reshook; }