2
0
forked from Wavyzz/dolibarr

FIX: SQL Problem in supplier invoice list

This commit is contained in:
Alexandre SPANGARO
2020-06-25 20:43:41 +02:00
parent bbb8c9418e
commit 62f55b8549

View File

@@ -407,7 +407,8 @@ if (!$search_all)
$sql .= " typent.code,";
$sql .= " state.code_departement, state.nom,";
$sql .= ' country.code,';
$sql .= " p.rowid, p.ref, p.title";
$sql .= " p.rowid, p.ref, p.title,";
$sql .= " u.login";
if (!empty($extrafields->attributes[$object->table_element]['label'])) {
foreach ($extrafields->attributes[$object->table_element]['label'] as $key => $val) {
//prevent error with sql_mode=only_full_group_by