[LON-CAPA-cvs] cvs: loncom /homework/caparesponse caparesponse.pm

raeburn raeburn at source.lon-capa.org
Tue Oct 29 23:12:40 EDT 2024


raeburn		Wed Oct 30 03:12:40 2024 EDT

  Modified files:              
    /loncom/homework/caparesponse	caparesponse.pm 
  Log:
  - Bug 6814
  
  
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.264 loncom/homework/caparesponse/caparesponse.pm:1.265
--- loncom/homework/caparesponse/caparesponse.pm:1.264	Sun Sep 29 01:58:43 2024
+++ loncom/homework/caparesponse/caparesponse.pm	Wed Oct 30 03:12:40 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # caparesponse definition
 #
-# $Id: caparesponse.pm,v 1.264 2024/09/29 01:58:43 raeburn Exp $
+# $Id: caparesponse.pm,v 1.265 2024/10/30 03:12:40 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1164,7 +1164,9 @@
     my $j=0;
     my $cou=0;
     $result.='\vskip 2mm \noindent ';
-    $result .= '\textbf{'.$Apache::lonxml::counter.'.} \vskip -3mm ';
+    if ($Apache::lonhomework::type eq 'exam') {
+        $result .= '\textbf{'.$Apache::lonxml::counter.'.} \vskip -3mm ';
+    }
 
     for (my $i=0;$i<$number_of_tables;$i++) {
 	if ($i == 0) {




More information about the LON-CAPA-cvs mailing list