fix php8 warning
This commit is contained in:
parent
0bb9834c67
commit
e15ac07c44
@ -322,7 +322,7 @@ if ($user->socid > 0) {
|
||||
$sql .= " AND t.fk_soc= ".((int) $user->socid);
|
||||
} else {
|
||||
// Restricted to assigned user only
|
||||
if ($conf->global->TICKET_LIMIT_VIEW_ASSIGNED_ONLY && !$user->rights->ticket->manage) {
|
||||
if (!empty($conf->global->TICKET_LIMIT_VIEW_ASSIGNED_ONLY) && !$user->rights->ticket->manage) {
|
||||
$sql .= " AND t.fk_user_assign=".$user->id;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user