diff options
-rw-r--r-- | lib/mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail.php b/lib/mail.php index f9fb4b77b..e6c7ee0e2 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -197,7 +197,7 @@ function mail_send_sms_notice($notice, $user) { common_log(LOG_INFO, "Sending notice " . $notice->id . " to " . $user->smsemail, __FILE__); $headers = array(); - $headers['From'] = $user->incomingemail; + $headers['From'] = (isset($user->incomingemail)) ? $user->incomingemail : mail_notify_from(); $headers['To'] = $to; $headers['Subject'] = sprintf(_('%s status'), $other->getBestName()); |