call hook preIndexFolder() for folders

This commit is contained in:
Uwe Steinmann 2021-06-29 08:26:42 +02:00
parent 84b0f6ac35
commit efd159e4d8

View File

@ -852,7 +852,7 @@ switch($command) {
if(isset($GLOBALS['SEEDDMS_HOOKS'][$hook])) {
foreach($GLOBALS['SEEDDMS_HOOKS'][$hook] as $hookObj) {
if (method_exists($hookObj, 'pre'.ucfirst($hook))) {
$ires = $hookObj->preIndexDocument(null, $object, $idoc);
$ires = $hookObj->{'pre'.ucfirst($hook)}(null, $object, $idoc);
}
}
}