--- loncom/interface/lonprintout.pm 2023/01/17 15:53:22 1.685
+++ loncom/interface/lonprintout.pm 2023/02/08 15:15:24 1.687
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.685 2023/01/17 15:53:22 raeburn Exp $
+# $Id: lonprintout.pm,v 1.687 2023/02/08 15:15:24 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3304,8 +3304,12 @@ ENDPART
my $map;
if ($helper->{VARS}->{'symb'}) {
- ($map, my $id, my $resource) =
- &Apache::lonnet::decode_symb($helper->{VARS}->{'symb'});
+ unless ((($print_type eq 'all_problems_students') ||
+ ($print_type eq 'incomplete_problems_selpeople_course')) &&
+ $perm{'pfo'}) {
+ ($map, my $id, my $resource) =
+ &Apache::lonnet::decode_symb($helper->{VARS}->{'symb'});
+ }
}
#loop over students
@@ -4493,7 +4497,7 @@ sub printHelper {
$optionText = &mt('Selected [_1]Incomplete Problems[_2] [_3]not in a folder[_4]' . $textSuffix,
'','','','');
} else {
- $optionText = &mt('Selected [_1]Incomplete Problems[_2] from folder [_3]' . $textSuffix,
+ $optionText = &mt('Selected [_1]Incomplete Problems[_2] from folder [_3]' . $textSuffix,
'','',''.$sequenceTitle.'');
}
push(@{$printChoices},