diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 059adb95685..cc296e4472a 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -1381,7 +1381,7 @@ if ($resql) $userstatic->job = $val['job']; $userstatic->gender = $val['gender']; //print '
': - print ($nbofsalesrepresentative < 3) ? $userstatic->getNomUrl(-1, '', 0, 0, 12) : $userstatic->getNomUrl(-2); + print ($nbofsalesrepresentative < 2) ? $userstatic->getNomUrl(-1, '', 0, 0, 12) : $userstatic->getNomUrl(-2); $j++; if ($j < $nbofsalesrepresentative) { print ' '; diff --git a/htdocs/contrat/list.php b/htdocs/contrat/list.php index a4fea62133c..1226d578f2f 100644 --- a/htdocs/contrat/list.php +++ b/htdocs/contrat/list.php @@ -33,6 +33,7 @@ require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; @@ -740,7 +741,7 @@ while ($i < min($num, $limit)) $userstatic->gender = $val['gender']; //print '
': - print ($nbofsalesrepresentative < 3) ? $userstatic->getNomUrl(-1, '', 0, 0, 12) : $userstatic->getNomUrl(-2); + print ($nbofsalesrepresentative < 2) ? $userstatic->getNomUrl(-1, '', 0, 0, 12) : $userstatic->getNomUrl(-2); $j++; if ($j < $nbofsalesrepresentative) { print ' '; diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index b8ab088cf85..81f3f1783f7 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -800,7 +800,7 @@ while ($i < min($num, $limit)) $userstatic->phone = $val['phone']; $userstatic->job = $val['job']; $userstatic->gender = $val['gender']; - print ($nbofsalesrepresentative < 3) ? $userstatic->getNomUrl(-1, '', 0, 0, 12) : $userstatic->getNomUrl(-2); + print ($nbofsalesrepresentative < 2) ? $userstatic->getNomUrl(-1, '', 0, 0, 12) : $userstatic->getNomUrl(-2); $j++; if ($j < $nbofsalesrepresentative) { print ' ';