diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 3e20d611785..fe164006a29 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -184,7 +184,7 @@ $help_url='EN:Module_Third_Parties|FR:Module_Tiers|ES:Empresas'; llxHeader('',$title,$help_url); - +/* if ($mode == 'search') { if ($modesearch == 'soc') @@ -209,7 +209,7 @@ if ($mode == 'search') $db->free($resql); } } - +*/ if ($id > 0) { @@ -1021,6 +1021,7 @@ if ($id > 0) // List of done actions show_actions_done($conf,$langs,$db,$object); } + } else { diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php index f739c0ac6fa..159dcb69d18 100644 --- a/htdocs/societe/price.php +++ b/htdocs/societe/price.php @@ -172,6 +172,8 @@ print ''; dol_fiche_end(); + + if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES)) { $prodcustprice = new Productcustomerprice($db);