soory it's a mistake

This commit is contained in:
BENKE Charlie 2016-04-30 01:01:32 +02:00
parent 8a63298102
commit 379a621b1f

View File

@ -484,12 +484,13 @@ if ($id > 0 || ! empty($ref))
dol_fiche_end();
}
$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been
// modified by hook
if (empty($reshook))
if ($action != 'edit')
{
if ($action != 'edit')
$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been
// modified by hook
if (empty($reshook))
{
/*
* Actions