* 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);
}
return ($start . $orig_from . $end . "\n");
}
-?>
\ No newline at end of file
+?>