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

raeburn raeburn at source.lon-capa.org
Sat May 17 22:13:45 EDT 2014


raeburn		Sun May 18 02:13:45 2014 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - Bug 6518
    - Start time for blocking based on activation of the timer for specific
      timed quiz item (map or resource-specific) -- interval value needs to
      be passed to lonnet::set_first_access() as second arg.
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.518 loncom/homework/structuretags.pm:1.519
--- loncom/homework/structuretags.pm:1.518	Thu May 15 20:17:17 2014
+++ loncom/homework/structuretags.pm	Sun May 18 02:13:45 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.518 2014/05/15 20:17:17 raeburn Exp $
+# $Id: structuretags.pm,v 1.519 2014/05/18 02:13:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1170,7 +1170,7 @@
         $target eq 'tex') {
         if ($env{'form.markaccess'}) {
             my @interval=&Apache::lonnet::EXT("resource.0.interval");
-            &Apache::lonnet::set_first_access($interval[1]);
+            &Apache::lonnet::set_first_access($interval[1],$interval[0]);
         }
 
         ($status,$accessmsg,$slot_name,$slot) =




More information about the LON-CAPA-cvs mailing list