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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 22 Feb 2006 22:36:37 -0000


albertel		Wed Feb 22 17:36:37 2006 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - expiremental change to conditions
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.101 rat/lonuserstate.pm:1.102
--- rat/lonuserstate.pm:1.101	Wed Feb 22 16:58:59 2006
+++ rat/lonuserstate.pm	Wed Feb 22 17:36:34 2006
@@ -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.101 2006/02/22 21:58:59 albertel Exp $
+# $Id: lonuserstate.pm,v 1.102 2006/02/22 22:36:34 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -364,11 +364,11 @@
 	}
 	if (defined($hash{'conditions_'.$rid})) {
 	    $hash{'conditions_'.$rid}=simplify(
-           '('.$hash{'conditions_'.$rid}.')|('.$sofar.')');
+           '('.'conditions_'.$rid.')|('.$sofar.')');
 	} else {
 	    $hash{'conditions_'.$rid}=$sofar;
 	}
-	$newsofar=$hash{'conditions_'.$rid};
+	$newsofar='conditions_'.$rid;
 	if (defined($hash{'is_map_'.$rid})) {
 	    if (defined($hash{'map_start_'.$hash{'src_'.$rid}})) {
 		$sofar=$newsofar=