From efd159e4d898ea170180ca1b3c85ce9de7d5b85a Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 29 Jun 2021 08:26:42 +0200 Subject: [PATCH] call hook preIndexFolder() for folders --- op/op.Ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op/op.Ajax.php b/op/op.Ajax.php index c1adcac9d..6a89526cb 100644 --- a/op/op.Ajax.php +++ b/op/op.Ajax.php @@ -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); } } }