[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 17 Sep 2003 17:30:41 -0000


albertel		Wed Sep 17 13:30:41 2003 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - decode_symb
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.227 loncom/interface/lonnavmaps.pm:1.228
--- loncom/interface/lonnavmaps.pm:1.227	Wed Sep 10 15:29:33 2003
+++ loncom/interface/lonnavmaps.pm	Wed Sep 17 13:30:41 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.227 2003/09/10 19:29:33 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.228 2003/09/17 17:30:41 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1975,7 +1975,7 @@
 sub getBySymb {
     my $self = shift;
     my $symb = shift;
-    my ($mapUrl, $id, $filename) = split (/___/, $symb);
+    my ($mapUrl, $id, $filename) = &Apache::lonnet::decode_symb($symb);
     my $map = $self->getResourceByUrl($mapUrl);
     return $self->getById($map->map_pc() . '.' . $id);
 }