Merge pull request #10877 from ATM-Nicolas/9.0

FIX : Duplicate executeHook function
This commit is contained in:
Laurent Destailleur 2019-03-19 12:04:46 +01:00 committed by GitHub
commit a61ee00a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1277,9 +1277,6 @@ if ($action == 'edit_price' && $object->getRights()->creer)
$parameters=array('colspan' => 2);
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook
$parameters=array('colspan' => 2);
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook
print '</table>';
dol_fiche_end();