From 34c197f26840b7c4e444ca901947a526c634071b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Fri, 25 Mar 2016 17:15:08 +0100 Subject: [PATCH] Restore compatibility --- htdocs/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/index.php b/htdocs/index.php index 3fa01b5cc98..332e2ea4483 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 -- GitLab