[LON-CAPA-cvs] cvs: loncom /interface coursecatalog.pm
raeburn
raeburn@source.lon-capa.org
Thu, 07 Oct 2010 14:41:49 -0000
raeburn Thu Oct 7 14:41:49 2010 EDT
Modified files:
/loncom/interface coursecatalog.pm
Log:
- Bug 6381.
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.64 loncom/interface/coursecatalog.pm:1.65
--- loncom/interface/coursecatalog.pm:1.64 Tue Sep 7 03:00:38 2010
+++ loncom/interface/coursecatalog.pm Thu Oct 7 14:41:49 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for displaying the course catalog interface
#
-# $Id: coursecatalog.pm,v 1.64 2010/09/07 03:00:38 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.65 2010/10/07 14:41:49 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -395,7 +395,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"';