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

raeburn raeburn at source.lon-capa.org
Thu Mar 29 15:59:09 EDT 2018


raeburn		Thu Mar 29 19:59:09 2018 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - Package globals should be initialized.
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.154 rat/lonuserstate.pm:1.155
--- rat/lonuserstate.pm:1.154	Thu Nov 16 12:44:48 2017
+++ rat/lonuserstate.pm	Thu Mar 29 19:59:08 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.154 2017/11/16 12:44:48 raeburn Exp $
+# $Id: lonuserstate.pm,v 1.155 2018/03/29 19:59:08 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1227,6 +1227,8 @@
         &unlink_tmpfiles($fn);
     }
     undef %randompick;
+    undef %randompickseed;
+    undef %randomorder;
     undef %hiddenurl;
     undef %encurl;
     $retfrid='';
@@ -1370,6 +1372,8 @@
             $lock=1;
         }
         undef %randompick;
+        undef %randompickseed;
+        undef %randomorder;
         undef %hiddenurl;
         undef %encurl;
         $errtext='';




More information about the LON-CAPA-cvs mailing list