[LON-CAPA-cvs] cvs: loncom(bz2851) /interface lonnavmaps.pm
foxr
foxr@source.lon-capa.org
Mon, 17 Aug 2009 10:47:24 -0000
foxr Mon Aug 17 10:47:24 2009 EDT
Modified files: (Branch: bz2851)
/loncom/interface lonnavmaps.pm
Log:
BZ 2851 - Fix error of using wrong base object in calls when .page sequences
are analyzed.
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.434 loncom/interface/lonnavmaps.pm:1.434.8.1
--- loncom/interface/lonnavmaps.pm:1.434 Mon May 4 16:45:57 2009
+++ loncom/interface/lonnavmaps.pm Mon Aug 17 10:47:24 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.434 2009/05/04 16:45:57 bisitz Exp $
+# $Id: lonnavmaps.pm,v 1.434.8.1 2009/08/17 10:47:24 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -597,7 +597,7 @@
my ($map,$id,$src)=&Apache::lonnet::decode_symb($res->symb());
if ($map=~/\.page$/) {
my $url=&Apache::lonnet::clutter($map);
- $anchor=&escape($src->shown_symb());
+ $anchor=&escape($res->shown_symb());
return ($url,$res->shown_symb(),$anchor);
}
}