fix: add missing hook in supplier tab of thirdparty (same as in customer/prospect tab)
This commit is contained in:
parent
00a8ad9207
commit
16feb2fe6e
1 changed files with 9 additions and 0 deletions
|
|
@ -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>';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue