fix php8 warning
This commit is contained in:
parent
0bb9834c67
commit
e15ac07c44
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue