diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php
index 7f5c80b11e8..29c87b0ebd2 100644
--- a/htdocs/comm/propal/list.php
+++ b/htdocs/comm/propal/list.php
@@ -958,9 +958,7 @@ if ($resql)
$nbofsalesrepresentative=count($listsalesrepresentatives);
if ($nbofsalesrepresentative > 3) // We print only number
{
- print '';
print $nbofsalesrepresentative;
- print '';
}
elseif ($nbofsalesrepresentative > 0)
{
diff --git a/htdocs/contrat/list.php b/htdocs/contrat/list.php
index 7859dc5a4f4..a7b5114501f 100644
--- a/htdocs/contrat/list.php
+++ b/htdocs/contrat/list.php
@@ -707,11 +707,9 @@ while ($i < min($num, $limit))
$listsalesrepresentatives=$socstatic->getSalesRepresentatives($user);
if ($listsalesrepresentatives < 0) dol_print_error($db);
$nbofsalesrepresentative=count($listsalesrepresentatives);
- if ($nbofsalesrepresentative > 3) {
- // We print only number
- print '';
+ if ($nbofsalesrepresentative > 3) // We print only number
+ {
print $nbofsalesrepresentative;
- print '';
}
elseif ($nbofsalesrepresentative > 0)
{
diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php
index e355cdcbf34..c95b9b001b0 100644
--- a/htdocs/projet/list.php
+++ b/htdocs/projet/list.php
@@ -755,9 +755,7 @@ while ($i < min($num, $limit))
$nbofsalesrepresentative=count($listsalesrepresentatives);
if ($nbofsalesrepresentative > 3) // We print only number
{
- print '';
print $nbofsalesrepresentative;
- print '';
}
elseif ($nbofsalesrepresentative > 0)
{
diff --git a/htdocs/societe/canvas/actions_card_common.class.php b/htdocs/societe/canvas/actions_card_common.class.php
index 9c19de507cf..e7ab9ea5a8b 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'].= '';
}
elseif ($nbofsalesrepresentative > 0)
{