[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /interface coursecatalog.pm

raeburn raeburn@source.lon-capa.org
Thu, 07 Oct 2010 14:47:59 -0000


raeburn		Thu Oct  7 14:47:59 2010 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom/interface	coursecatalog.pm 
  Log:
  - Backport 1.65.
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.58.4.4 loncom/interface/coursecatalog.pm:1.58.4.5
--- loncom/interface/coursecatalog.pm:1.58.4.4	Thu Sep 30 12:01:14 2010
+++ loncom/interface/coursecatalog.pm	Thu Oct  7 14:47:59 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.58.4.4 2010/09/30 12:01:14 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.58.4.5 2010/10/07 14:47:59 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -401,7 +401,7 @@
                     $catlinks .= '<option value="">'.&mt('De-select').'</option>';
                     for (my $j=0; $j<@{$cats[$shallower]{$container}}; $j++) {
                         my $name = $cats[$shallower]{$container}[$j];
-                        my $item = &escape($name).':'.$container.':'.$shallower;
+                        my $item = &escape($name).':'.&escape($container).':'.$shallower;
                         my $selected = '';
                         if ($item eq $env{'form.currcat_'.$shallower}) {
                             $selected = ' selected="selected"';