From 6bf2a88fe752acbe561a941cb42d49337b13de95 Mon Sep 17 00:00:00 2001 From: indiri69 Date: Wed, 28 Aug 2002 20:39:16 +0000 Subject: [PATCH] Allow messages with addresses in BCC only. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3504 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +?> -- 2.25.1