forked from extern/egroupware
handling array_intersect warning if info_responsible is not an array
This commit is contained in:
parent
1baaa6cd01
commit
03fc976ce6
@ -91,7 +91,7 @@ class infolog_so
|
||||
$user_and_memberships = $GLOBALS['egw']->accounts->memberships($this->user,true);
|
||||
$user_and_memberships[] = $this->user;
|
||||
}
|
||||
return $info['info_responsible'] && array_intersect($info['info_responsible'],$user_and_memberships);
|
||||
return $info['info_responsible'] && array_intersect(array($info['info_responsible']),$user_and_memberships);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user