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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 19 Oct 2004 15:26:53 -0000


albertel		Tue Oct 19 11:26:53 2004 EDT

  Modified files:              
    /rat	lonpageflip.pm 
  Log:
  - Yes, I am that stupid
  
  
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.48 rat/lonpageflip.pm:1.49
--- rat/lonpageflip.pm:1.48	Mon Oct 18 18:24:00 2004
+++ rat/lonpageflip.pm	Tue Oct 19 11:26:53 2004
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.48 2004/10/18 22:24:00 albertel Exp $
+# $Id: lonpageflip.pm,v 1.49 2004/10/19 15:26:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -269,7 +269,7 @@
               my $safecount=0;
               while (($next) && ($next!~/\,/) && 
                      ((!$hash{'src_'.$next}) || 
-		      ($ENV{'request.role.adv'}) && $hash{'randomout_'.$next}))
+		      ((!$ENV{'request.role.adv'}) && $hash{'randomout_'.$next}))
                      && ($safecount<10000)) {
                   ($next,$endupmap)=&move($next,$endupmap,$direction);
                   $safecount++;