[LON-CAPA-cvs] cvs: rat / lonuserstate.pm

raeburn raeburn at source.lon-capa.org
Thu Mar 29 17:12:58 EDT 2018


raeburn		Thu Mar 29 21:12:58 2018 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - Package globals should be initialized.
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.155 rat/lonuserstate.pm:1.156
--- rat/lonuserstate.pm:1.155	Thu Mar 29 19:59:08 2018
+++ rat/lonuserstate.pm	Thu Mar 29 21:12:57 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construct and maintain state and binary representation of course for user
 #
-# $Id: lonuserstate.pm,v 1.155 2018/03/29 19:59:08 raeburn Exp $
+# $Id: lonuserstate.pm,v 1.156 2018/03/29 21:12:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1229,8 +1229,11 @@
     undef %randompick;
     undef %randompickseed;
     undef %randomorder;
+    undef %randomizationcode;
     undef %hiddenurl;
     undef %encurl;
+    undef %rescount;
+    undef %mapcount;
     $retfrid='';
     $errtext='';
     my ($untiedhash,$untiedparmhash,$tiedhash,$tiedparmhash); # More state flags.
@@ -1374,8 +1377,11 @@
         undef %randompick;
         undef %randompickseed;
         undef %randomorder;
+        undef %randomizationcode;
         undef %hiddenurl;
         undef %encurl;
+        undef %rescount;
+        undef %mapcount;
         $errtext='';
         $retfrid='';
 	#




More information about the LON-CAPA-cvs mailing list