--- loncom/interface/lonmsg.pm 2007/05/05 03:14:21 1.204 +++ loncom/interface/lonmsg.pm 2007/05/08 16:50:02 1.205 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.204 2007/05/05 03:14:21 raeburn Exp $ +# $Id: lonmsg.pm,v 1.205 2007/05/08 16:50:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -706,6 +706,11 @@ sub process_sent_mail { my $sentsubj; if ($numsent > 1) { $sentsubj = $subj_prefix.' ('.$numsent.' sent) '.$msgsubj; + } else { + if ($subj_prefix) { + $sentsubj = $subj_prefix.' '; + } + $sentsubj .= $msgsubj; } $sentsubj = &HTML::Entities::encode($sentsubj,'<>&"'); my $sentmsgid =