--- loncom/interface/lonfeedback.pm 2003/11/24 16:46:15 1.71 +++ loncom/interface/lonfeedback.pm 2003/11/27 09:43:42 1.73 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.71 2003/11/24 16:46:15 www Exp $ +# $Id: lonfeedback.pm,v 1.73 2003/11/27 09:43:42 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -70,7 +70,12 @@ sub list_discussion { my $seeid=&Apache::lonnet::allowed('rin',$crs); my $viewgrades=&Apache::lonnet::allowed('vgr',$crs); my @discussionitems=(); - my %contrib=&Apache::lonnet::restore($symb,$ENV{'request.course.id'}, + # backward compatability (bulltein boards used to be 'wrapped') + my $ressymb=$symb; + if ($mode eq 'board') { + $ressymb=~s|(bulletin___\d+___)|$1adm/wrapper|; + } + my %contrib=&Apache::lonnet::restore($ressymb,$ENV{'request.course.id'}, $ENV{'course.'.$ENV{'request.course.id'}.'.domain'}, $ENV{'course.'.$ENV{'request.course.id'}.'.num'}); my $visible=0; @@ -215,7 +220,7 @@ sub list_discussion {