Fix php warning

pull/2487/head
jmontoyaa 9 years ago
parent fab7a58076
commit 33aa62ec6b
  1. 2
      main/inc/lib/api.lib.php

@ -7624,7 +7624,7 @@ function api_mail_html(
}
//If the SMTP configuration only accept one sender
if ($platform_email['SMTP_UNIQUE_SENDER']) {
if (isset($platform_email['SMTP_UNIQUE_SENDER']) && $platform_email['SMTP_UNIQUE_SENDER']) {
$senderName = $platform_email['SMTP_FROM_NAME'];
$senderEmail = $platform_email['SMTP_FROM_EMAIL'];
}

Loading…
Cancel
Save