Merge pull request #9158 from atm-gauthier/7.0_missing_hook

FIX : missing hook to edit sql
This commit is contained in:
Laurent Destailleur 2018-08-02 18:36:25 +02:00 committed by GitHub
commit 6010d9de4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;