FIX #9316 Error when listing invoices

This commit is contained in:
Laurent Destailleur 2018-09-04 11:17:08 +02:00
parent f2ec94e9fd
commit e7d2bcc34c

View File

@ -509,7 +509,7 @@ if (! $sall)
$sql.= ' typent.code,';
$sql.= ' state.code_departement, state.nom,';
$sql.= ' country.code,';
$sql.= " p.rowid, p.ref";
$sql.= " p.rowid, p.ref, p.title";
foreach ($extrafields->attribute_label as $key => $val) //prevent error with sql_mode=only_full_group_by
{