Fix bug in option display account number in list

This commit is contained in:
Florian Henry 2013-10-23 11:25:42 +02:00
parent bdcbd4ee42
commit 9804527216

View File

@ -800,7 +800,7 @@ class Form
while ($i < $num)
{
$obj = $this->db->fetch_object($resql);
$label='';
if ($conf->global->SOCIETE_ADD_REF_IN_LIST) {
if (($obj->client) && (!empty($obj->code_client))) {
$label = $obj->code_client. ' - ';