fix problem regarding the ability to save a groups emailaddress

This commit is contained in:
Klaus Leithoff 2013-05-23 13:48:51 +00:00
parent d894051d1e
commit a7944a3b76
2 changed files with 10 additions and 10 deletions

View File

@ -215,7 +215,7 @@ class accounts_sql
}
}
// store group-email in mailaccounts table
if ($data['account_id'] < 0 && class_exists('emailadmin_smtp_sql', false))
if ($data['account_id'] < 0 && class_exists('emailadmin_smtp_sql', isset($data['account_email'])))
{
try {
if (empty($data['account_email']))