Fixing style errors.
This commit is contained in:
parent
9b548e4125
commit
c9bf5f85ea
@ -193,7 +193,7 @@ class Evaluation extends CommonObject
|
|||||||
$this->fields['entity']['enabled'] = 0;
|
$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();
|
$this->date_eval = dol_now();
|
||||||
|
|
||||||
|
|||||||
@ -275,7 +275,7 @@ if ($search_all) {
|
|||||||
$sql .= natural_search(array_keys($fieldstosearchall), $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)).") ";
|
$sql.= " AND t.fk_user IN(".implode(", ", $user->getAllChildIds(1)).") ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user