FIX : travis

This commit is contained in:
Gauthier PC portable 024 2022-12-15 17:06:08 +01:00
parent 9b548e4125
commit 6a71e47d57

View File

@ -193,7 +193,7 @@ class Evaluation extends CommonObject
$this->fields['entity']['enabled'] = 0;
}
if(empty($user->rights->hrm->evaluation->readall)) $this->fields['fk_user']['type'].= ':rowid IN('.implode(", ", $user->getAllChildIds(1)).')';
if(empty($user->rights->hrm->evaluation->readall)) $this->fields['fk_user']['type'].= ':rowid IN('.$this->db->sanitize(implode(", ", $user->getAllChildIds(1))).')';
$this->date_eval = dol_now();