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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 28 Jun 2007 22:16:54 -0000


albertel		Thu Jun 28 18:16:54 2007 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - actually use a randompickseed if set
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.118 rat/lonuserstate.pm:1.119
--- rat/lonuserstate.pm:1.118	Fri Jul  7 18:01:25 2006
+++ rat/lonuserstate.pm	Thu Jun 28 18:16:53 2007
@@ -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.118 2006/07/07 22:01:25 raeburn Exp $
+# $Id: lonuserstate.pm,v 1.119 2007/06/28 22:16:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -298,7 +298,7 @@
 			$randompick{$referid}=$token->[2]->{'value'};
                     }
                     if ($token->[2]->{'name'}=~/^parameter_(0_)*randompickseed$/) {
-			$randompick{$referid}=$token->[2]->{'value'};
+			$randompickseed{$referid}=$token->[2]->{'value'};
                     }
                     if ($token->[2]->{'name'}=~/^parameter_(0_)*encrypturl$/) {
 			if ($token->[2]->{'value'}=~/^yes$/i) {