diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 68d80576892..ff9710ae6fd 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1430,7 +1430,7 @@ function dol_print_address($address, $htmlid, $mode, $id) { if ($hookmanager) { $parameters = array('element' => $mode, 'id' => $id); - $reshook = $hookmanager->executeHooks('printAddress', $parameters, $address, $action); + $reshook = $hookmanager->executeHooks('printAddress', $parameters, $address); print $hookmanager->resPrint; } if (empty($reshook)) {