--- loncom/interface/lonfeedback.pm 2004/08/17 14:27:19 1.116 +++ loncom/interface/lonfeedback.pm 2004/08/19 02:08:27 1.117 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.116 2004/08/17 14:27:19 raeburn Exp $ +# $Id: lonfeedback.pm,v 1.117 2004/08/19 02:08:27 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -446,11 +446,11 @@ imscp_v1p1.xsd http://www.imsglobal.org/ $alldiscussion{$_} = $_; } unless ( ($notshown{$alldiscussion{$_}} eq '1') || ($shown{$alldiscussion{$_}} == 0) ) { - unless ($outputtarget eq 'tex' && $outputtarget eq 'export') { + if ($outputtarget ne 'tex' && $outputtarget ne 'export') { $discussion.="\n"; } my $thisdepth=$depth[$alldiscussion{$_}]; - unless ($outputtarget eq 'tex' || $outputtarget eq 'export') { + if ($outputtarget ne 'tex' && $outputtarget ne 'export') { for (1..$thisdepth) { $discussion.='   '; }