From: garvinhicking Date: Wed, 27 Jul 2005 18:06:18 +0000 (+0000) Subject: Use proper mail address when empty. Fixesbug #1245963 X-Git-Tag: 0.9~278 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2b630f91afa14fc676e198bae9e5ce01f6d626b3;p=s9y.git Use proper mail address when empty. Fixesbug #1245963 --- diff --git a/include/functions.inc.php b/include/functions.inc.php index f2dc24f..5a250fe 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -209,7 +209,7 @@ function serendipity_sendMail($to, $subject, $message, $fromMail, $headers = NUL $fromName = $serendipity['blogTitle']; } - if ( is_null($fromMail) ) { + if ( is_null($fromMail) || empty($fromMail)) { $fromMail = $to; }