]> git.mjollnir.org Git - s9y.git/commitdiff
Use proper mail address when empty. Fixesbug #1245963
authorgarvinhicking <garvinhicking>
Wed, 27 Jul 2005 18:06:18 +0000 (18:06 +0000)
committergarvinhicking <garvinhicking>
Wed, 27 Jul 2005 18:06:18 +0000 (18:06 +0000)
include/functions.inc.php

index f2dc24f634fbb3e0617329fc47f6542a95afb517..5a250fe15f49e822483a28fb765edc41db2f9d6d 100644 (file)
@@ -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;
     }