return resprint hook (#30222)

This commit is contained in:
atm-jonathan 2024-07-01 12:56:24 +02:00 committed by GitHub
parent c6d44671f5
commit d654f90f91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -701,6 +701,8 @@ $resHook = $hookmanager->executeHooks('completeListOfReferent', $parameters, $ob
if (!empty($hookmanager->resArray)) {
$listofreferent = array_merge($listofreferent, $hookmanager->resArray);
} elseif ($resHook > 0 && !empty($hookmanager->resPrint)) {
$listofreferent = $hookmanager->resPrint;
}
if ($action == "addelement") {