mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
silence warning on chech for not set or empty userData[forward]
This commit is contained in:
parent
83745e0e5f
commit
3b0eae42fe
@ -213,7 +213,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