diff --git a/htdocs/hrm/position_list.php b/htdocs/hrm/position_list.php index 4500d3d45ec..308e48e153b 100644 --- a/htdocs/hrm/position_list.php +++ b/htdocs/hrm/position_list.php @@ -219,7 +219,8 @@ $morecss = array(); // -------------------------------------------------------------------- $sql = 'SELECT '; $sql .= $object->getFieldList('t'); -$sql .= ', '.$userstatic->getFieldList('u'); +$sql .= ','; +$sql .= $userstatic->getFieldList('u'); $sql .= ',u.email, u.statut'; $sql .= ',j.rowid, j.label as job_label'; // Add fields from extrafields