diff --git a/htdocs/comm/list.php b/htdocs/comm/list.php index da457735f9a..eebb066beed 100755 --- a/htdocs/comm/list.php +++ b/htdocs/comm/list.php @@ -56,10 +56,19 @@ $search_sale = GETPOST("search_sale"); $search_categ = GETPOST("search_categ",'int'); $catid = GETPOST("catid",'int'); +// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array +include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php'; +$hookmanager=new HookManager($db); +$hookmanager->initHooks(array('customerlist')); + + /* * Actions */ +$parameters=array(); +$reshook=$hookmanager->executeHooks('doActions',$parameters); // Note that $action and $object may have been modified by some hooks + // Do we click on purge search criteria ? if (GETPOST("button_removefilter_x")) { @@ -140,8 +149,7 @@ if ($result) $i = 0; - print '