X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fcompose.php;h=774300fbc0145f3d1f4c27bb743ef8e25b9f0696;hp=e9e1d35498a9ef6f7555fdbca5b4f4bc284bb0a6;hb=6bf2a88fe752acbe561a941cb42d49337b13de95;hpb=62cfbd1ddebba95655dfa53bd1ac1f45e8428f34 diff --git a/src/compose.php b/src/compose.php index e9e1d354..774300fb 100644 --- a/src/compose.php +++ b/src/compose.php @@ -993,9 +993,9 @@ function checkInput ($show) { * using $show=false, and then when i'm ready to display the error * message, show=true */ - global $body, $send_to, $subject, $color; + global $body, $send_to, $send_to_bcc, $subject, $color; - if ($send_to == '') { + if ($send_to == '' && $send_to_bcc == '') { if ($show) { plain_error_message(_("You have not filled in the \"To:\" field."), $color); } @@ -1103,4 +1103,4 @@ function getReplyCitation($orig_from) return ($start . $orig_from . $end . "\n"); } -?> \ No newline at end of file +?>