mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 03:43:40 +01:00
silence warning on chech for not set or empty userData[forward]
This commit is contained in:
parent
4c92397511
commit
517c1e9ce3
@ -203,7 +203,7 @@ class emailadmin_smtp_sql extends emailadmin_smtp
|
||||
{
|
||||
foreach($members as $member)
|
||||
{
|
||||
if (($email = $this->accounts->id2name($member, 'account_email')) && !in_array($email, $userData['forward']))
|
||||
if (($email = $this->accounts->id2name($member, 'account_email')) && !in_array($email, (array)$userData['forward']))
|
||||
{
|
||||
$userData['forward'][] = $email;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user