Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2021-06-29 08:27:07 +02:00
commit 0c260f286b

View File

@ -934,7 +934,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);
}
}
}