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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 09 May 2006 20:54:55 -0000


albertel		Tue May  9 16:54:55 2006 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  - had broken anon discussion posting in bulletin boadrs, fixed
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.200 loncom/interface/lonfeedback.pm:1.201
--- loncom/interface/lonfeedback.pm:1.200	Tue May  9 16:44:15 2006
+++ loncom/interface/lonfeedback.pm	Tue May  9 16:54:55 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.200 2006/05/09 20:44:15 albertel Exp $
+# $Id: lonfeedback.pm,v 1.201 2006/05/09 20:54:55 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3430,9 +3430,9 @@
 # Discussion? Store that.
 
       my $numpost=0;
-      if ($env{'form.discuss'}) {
+      if ($env{'form.discuss'} || $env{'form.anondiscuss'}) {
 	  my $subject = &clear_out_html($env{'form.subject'},undef,1);
-	  my $anonmode=($env{'form.discuss'} eq 'anon');
+	  my $anonmode=($env{'form.discuss'} eq 'anon' || $env{'form.anondiscuss'} );
 	  $typestyle.=&adddiscuss($symb,$message,$anonmode,$attachmenturl,
 				  $subject);
 	  $numpost++;