- did decodeHeader on to_ary and cc_ary
[squirrelmail.git] / src / compose.php
index ccf4f7eb89b7d081815729e7934a5d747120f30d..5617da79e13599fa36313e5d466e2e3dc7bfc7ce 100644 (file)
           error message, show=true **/
       global $body, $send_to, $subject, $color;
 
-      if ($body == "" && $subject == "") {
-         if ($show)
-            plain_error_message(_("You have not entered a message body or a subject."), $color);
-         return false;
-      } else if ($send_to == "") {
+      if ($send_to == "") {
          if ($show)
             plain_error_message(_("You have not filled in the \"To:\" field."), $color);
          return false;