From a9d7bbc2edfa0e17fb1c3542637cc632240d855a Mon Sep 17 00:00:00 2001 From: ATM-Nicolas Date: Fri, 6 Mar 2020 09:52:19 +0100 Subject: [PATCH] FIX : Remove unexisting link --- htdocs/comm/propal/list.php | 2 -- htdocs/contrat/list.php | 2 -- htdocs/projet/list.php | 2 -- htdocs/societe/canvas/actions_card_common.class.php | 2 -- 4 files changed, 8 deletions(-) diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 511166991bf..17b8f80df68 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -972,9 +972,7 @@ if ($resql) $nbofsalesrepresentative=count($listsalesrepresentatives); if ($nbofsalesrepresentative > 3) // We print only number { - print ''; print $nbofsalesrepresentative; - print ''; } else if ($nbofsalesrepresentative > 0) { diff --git a/htdocs/contrat/list.php b/htdocs/contrat/list.php index 57d47402049..9e5f5c811b2 100644 --- a/htdocs/contrat/list.php +++ b/htdocs/contrat/list.php @@ -706,9 +706,7 @@ while ($i < min($num,$limit)) $nbofsalesrepresentative=count($listsalesrepresentatives); if ($nbofsalesrepresentative > 3) // We print only number { - print ''; print $nbofsalesrepresentative; - print ''; } else if ($nbofsalesrepresentative > 0) { diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index a0e068c79f6..352140f9cb1 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -747,9 +747,7 @@ while ($i < min($num,$limit)) $nbofsalesrepresentative=count($listsalesrepresentatives); if ($nbofsalesrepresentative > 3) // We print only number { - print ''; print $nbofsalesrepresentative; - print ''; } else if ($nbofsalesrepresentative > 0) { diff --git a/htdocs/societe/canvas/actions_card_common.class.php b/htdocs/societe/canvas/actions_card_common.class.php index ffcd7c7a00f..e696f8596db 100644 --- a/htdocs/societe/canvas/actions_card_common.class.php +++ b/htdocs/societe/canvas/actions_card_common.class.php @@ -306,9 +306,7 @@ abstract class ActionsCardCommon $nbofsalesrepresentative=count($listsalesrepresentatives); if ($nbofsalesrepresentative > 3) // We print only number { - $this->tpl['sales_representatives'].= ''; $this->tpl['sales_representatives'].= $nbofsalesrepresentative; - $this->tpl['sales_representatives'].= ''; } else if ($nbofsalesrepresentative > 0) {