[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /xml lonxml.pm

raeburn raeburn at source.lon-capa.org
Sun Mar 17 20:04:27 EDT 2013


raeburn		Mon Mar 18 00:04:27 2013 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/xml	lonxml.pm 
  Log:
  - For 2.11
    - Backport 1.538.
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.531.2.5 loncom/xml/lonxml.pm:1.531.2.6
--- loncom/xml/lonxml.pm:1.531.2.5	Thu Dec 13 22:28:15 2012
+++ loncom/xml/lonxml.pm	Mon Mar 18 00:04:27 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.531.2.5 2012/12/13 22:28:15 raeburn Exp $
+# $Id: lonxml.pm,v 1.531.2.6 2013/03/18 00:04:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1975,6 +1975,7 @@
             while (@folders) {
                 my $folder=shift(@folders);
                 my $foldername=shift(@folders);
+                $foldername =~ s/\:(\d*)\:(\w*)\:(\w*):(\d*)\:?(\d*)$//;
                 push(@pathitems,&unescape($foldername));
             }
             if ($title) {




More information about the LON-CAPA-cvs mailing list