mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fixing style errors.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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)).") ";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user