fix: add missing hook in supplier tab of thirdparty (same as in customer/prospect tab)

This commit is contained in:
Florian HENRY
2023-12-28 11:19:55 +01:00
parent 00a8ad9207
commit 16feb2fe6e

View File

@@ -870,6 +870,15 @@ if ($object->id > 0) {
}
}
// Allow external modules to add their own shortlist of recent objects
$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreRecentObjects', $parameters, $object, $action);
if ($reshook < 0) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
} else {
print $hookmanager->resPrint;
}
print '</div></div>';
print '<div class="clearboth"></div>';