From c95d6271a9485a621981bc35da3785b95c39974d Mon Sep 17 00:00:00 2001 From: gauthier Date: Wed, 25 Jul 2018 11:15:00 +0200 Subject: [PATCH] FIX : missing hook to edit sql --- htdocs/societe/consumption.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php index 5ec8f35d1b3..3f1608b823e 100644 --- a/htdocs/societe/consumption.php +++ b/htdocs/societe/consumption.php @@ -296,6 +296,9 @@ if ($type_element == 'contract') $thirdTypeSelect='customer'; } +$parameters=array(); +$reshook=$hookmanager->executeHooks('printFieldListSelect',$parameters); // Note that $action and $object may have been modified by hook + if (!empty($sql_select)) { $sql = $sql_select;