Browse Source

removed another warning

Luke Ehresman 24 years ago
parent
commit
34298fb38b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      functions/smtp.php

+ 1 - 0
functions/smtp.php

@@ -252,6 +252,7 @@
 
 
          $attachmentlength = attachFiles($fp);
          $attachmentlength = attachFiles($fp);
 
 
+         if (!isset($postbody)) $postbody = "";
          $postbody .= "\r\n--".mimeBoundary()."--\r\n\r\n";
          $postbody .= "\r\n--".mimeBoundary()."--\r\n\r\n";
          fputs ($fp, $postbody);
          fputs ($fp, $postbody);
       } else {
       } else {