diff --git a/htdocs/index.php b/htdocs/index.php index 3fa01b5cc98c672e545655635ab28fe8da6ef302..332e2ea448300f023cdd683600b8c2f977df5510 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -152,7 +152,8 @@ if (empty($user->societe_id)) $parameters=array(); $action=''; $reshook=$hookmanager->executeHooks('addStatisticLine',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks - + $boxstat.=$hookmanager->resPrint; + if (empty($reshook)) { // Condition to be checked for each display line dashboard