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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 20 Oct 2006 22:03:25 -0000


albertel		Fri Oct 20 18:03:25 2006 EDT

  Modified files:              
    /rat	lonpageflip.pm 
  Log:
  - id split backwards
  
  
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.72 rat/lonpageflip.pm:1.73
--- rat/lonpageflip.pm:1.72	Fri Oct 20 15:42:28 2006
+++ rat/lonpageflip.pm	Fri Oct 20 18:03:24 2006
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.72 2006/10/20 19:42:28 albertel Exp $
+# $Id: lonpageflip.pm,v 1.73 2006/10/20 22:03:24 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -244,7 +244,7 @@
 # Wow, we cannot see this ... move forward to the next one that we can see
 	    my ($newrid,$newmap)=&move($hash{'first_rid'},$hash{'first_mapurl'},'forward');
 # Build the new URL
-	    my ($newresid,$newmapid)=split(/\./,$newrid);
+	    my ($newmapid,$newresid)=split(/\./,$newrid);
 	    my $symb=&Apache::lonnet::encode_symb($newmap,$newresid,$hash{'src_'.$newrid});
 	    $furl=&add_get_param($hash{'src_'.$newrid},{ 'symb' => $symb });
 	    if ($hash{'encrypted_'.$newrid}) {