Fixing style errors.

This commit is contained in:
stickler-ci
2022-12-15 15:24:52 +00:00
parent 9b548e4125
commit c9bf5f85ea
2 changed files with 2 additions and 2 deletions

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('.implode(", ", $user->getAllChildIds(1)).')';
$this->date_eval = dol_now();

View File

@@ -275,7 +275,7 @@ if ($search_all) {
$sql .= natural_search(array_keys($fieldstosearchall), $search_all);
}
if(empty($permissiontoreadall)) {
if (empty($permissiontoreadall)) {
$sql.= " AND t.fk_user IN(".implode(", ", $user->getAllChildIds(1)).") ";
}