--- loncom/interface/lonfeedback.pm 2004/11/15 22:48:51 1.137 +++ loncom/interface/lonfeedback.pm 2004/11/15 23:02:45 1.138 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.137 2004/11/15 22:48:51 albertel Exp $ +# $Id: lonfeedback.pm,v 1.138 2004/11/15 23:02:45 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -132,7 +132,6 @@ sub list_discussion { $prevread = $dischash{$lastkey}; } } - &Apache::lonnet::logthis("\n last read r symb ".$lastkey); # Get information about students and non-students in course for filtering display of posts my %roleshash = (); @@ -2901,8 +2900,8 @@ ENDREDIR my ($symb,$feedurl)=&get_feedurl_and_clean_symb($ENV{'form.symb'}); my %discinfo; # ------------------------ Modify setting for read/unread toggle for each post - if ($ENV{'form.toggoff'}) { $discinfo{$symb.'_readtoggle'}=1; } - if ($ENV{'form.toggon'}) { $discinfo{$symb.'_readtoggle'}=0; } + if ($ENV{'form.toggoff'}) { $discinfo{$symb.'_readtoggle'}=0; } + if ($ENV{'form.toggon'}) { $discinfo{$symb.'_readtoggle'}=1; } # --------- Modify setting for identification of 'NEW' posts in this discussion if ($ENV{'form.markondisp'}) { $discinfo{$symb.'_lastread'} = time;