fix warning
This commit is contained in:
parent
5d6ba8a2d5
commit
7b62f5a4e4
@ -146,7 +146,7 @@ if ($id > 0 || !empty($track_id) || !empty($ref)) {
|
||||
print dol_get_fiche_end();
|
||||
}
|
||||
|
||||
if (!$user->socid && $conf->global->TICKET_LIMIT_VIEW_ASSIGNED_ONLY) {
|
||||
if (!$user->socid && !empty($conf->global->TICKET_LIMIT_VIEW_ASSIGNED_ONLY)) {
|
||||
$object->next_prev_filter = "te.fk_user_assign = '".$user->id."'";
|
||||
} elseif ($user->socid > 0) {
|
||||
$object->next_prev_filter = "te.fk_soc = '".$user->socid."'";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user