[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonprintout.pm

raeburn raeburn at source.lon-capa.org
Mon Jul 1 14:38:41 EDT 2024


raeburn		Mon Jul  1 18:38:41 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonprintout.pm 
  Log:
  - For 2.11
    Backport 1.687
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.627.2.32 loncom/interface/lonprintout.pm:1.627.2.33
--- loncom/interface/lonprintout.pm:1.627.2.32	Thu Feb 10 07:42:45 2022
+++ loncom/interface/lonprintout.pm	Mon Jul  1 18:38:41 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.627.2.32 2022/02/10 07:42:45 raeburn Exp $
+# $Id: lonprintout.pm,v 1.627.2.33 2024/07/01 18:38:41 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3170,8 +3170,12 @@
 
          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




More information about the LON-CAPA-cvs mailing list