mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-22 09:31:22 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
0c260f286b
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user