mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
fix: add missing hook in supplier tab of thirdparty (same as in customer/prospect tab)
This commit is contained in:
@@ -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>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user