[LON-CAPA-cvs] cvs: loncom /interface lonbulletin.pm

wenzelju wenzelju@source.lon-capa.org
Mon, 30 Nov 2009 11:22:54 -0000


wenzelju		Mon Nov 30 11:22:54 2009 EDT

  Modified files:              
    /loncom/interface	lonbulletin.pm 
  Log:
  Corrected typing error from r1.5 (wrong subroutine was called).
  
  
Index: loncom/interface/lonbulletin.pm
diff -u loncom/interface/lonbulletin.pm:1.50 loncom/interface/lonbulletin.pm:1.51
--- loncom/interface/lonbulletin.pm:1.50	Thu Nov 26 05:21:43 2009
+++ loncom/interface/lonbulletin.pm	Mon Nov 30 11:22:54 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Bulletin Board Handler
 #
-# $Id: lonbulletin.pm,v 1.50 2009/11/26 05:21:43 faziophi Exp $
+# $Id: lonbulletin.pm,v 1.51 2009/11/30 11:22:54 wenzelju Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -249,7 +249,7 @@
         foreach my $field (sort(keys(%syllabusfields))) {
             if (($syllabus{$field}) || ($allowed)) {
                 my $message=$syllabus{$field};
-                if (&Apache::lonfeedback::newline_to_br($message)) {
+                if (!&Apache::lonfeedback::contains_block_html($message)) {
                 	&Apache::lonfeedback::newline_to_br(\$message);
                 }
                 $message