add hook addMoreActionsButtons on adherent Card

This commit is contained in:
BENKE Charlie 2015-07-14 02:33:17 +02:00
parent 0c9e984bb1
commit 3cfa76a120

View File

@ -1619,7 +1619,9 @@ else
* Hotbar * Hotbar
*/ */
print '<div class="tabsAction">'; print '<div class="tabsAction">';
$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been
if (empty($reshook)) {
if ($action != 'valid' && $action != 'editlogin' && $action != 'editthirdparty') if ($action != 'valid' && $action != 'editlogin' && $action != 'editthirdparty')
{ {
// Modify // Modify
@ -1743,7 +1745,7 @@ else
} }
} }
}
print '</div>'; print '</div>';
if ($isinspip == -1) if ($isinspip == -1)