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

raeburn raeburn at source.lon-capa.org
Sat Apr 2 00:16:20 EDT 2016


raeburn		Sat Apr  2 04:16:20 2016 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - Bug 4373. Keys for parameters in %lonnet::needsrelease contain 4 colons
    (lonnet.pm rev. 1.1303 and later).
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.544 loncom/homework/structuretags.pm:1.545
--- loncom/homework/structuretags.pm:1.544	Wed Jan  6 18:08:04 2016
+++ loncom/homework/structuretags.pm	Sat Apr  2 04:16:19 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.544 2016/01/06 18:08:04 damieng Exp $
+# $Id: structuretags.pm,v 1.545 2016/04/02 04:16:19 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1286,7 +1286,7 @@
             } else {
                 $anoncounter{$symb."\0".$part} = 1;
             }
-            my $needsrelease = $Apache::lonnet::needsrelease{'parameter:type:'.$Apache::lonhomework::results{'resource.'.$part.'.type'}.':'};
+            my $needsrelease = $Apache::lonnet::needsrelease{'parameter:type:'.$Apache::lonhomework::results{'resource.'.$part.'.type'}.'::'};
             if ($needsrelease) {
                 my $curr_required = $env{'course.'.$env{'request.course.id'}.'.internal.releaserequired'};
                 if ($curr_required eq '') {




More information about the LON-CAPA-cvs mailing list