[LON-CAPA-cvs] cvs: loncom /interface courseprefs.pm
www
www@source.lon-capa.org
Sat, 15 Jan 2011 01:33:05 -0000
www Sat Jan 15 01:33:05 2011 EDT
Modified files:
/loncom/interface courseprefs.pm
Log:
Was printing out the wrong header
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.42 loncom/interface/courseprefs.pm:1.43
--- loncom/interface/courseprefs.pm:1.42 Fri Jan 14 00:32:47 2011
+++ loncom/interface/courseprefs.pm Sat Jan 15 01:33:04 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set configuration settings for a course
#
-# $Id: courseprefs.pm,v 1.42 2011/01/14 00:32:47 www Exp $
+# $Id: courseprefs.pm,v 1.43 2011/01/15 01:33:04 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -577,12 +577,12 @@
'
</table>
<table class="LC_nested">';
- if (exists $item->{'header'}->[0]->{'col1'} ||
- exists $item->{'header'}->[0]->{'col2'}) {
+ if (exists $item->{'header'}->[2]->{'col1'} ||
+ exists $item->{'header'}->[2]->{'col2'}) {
$output .= '
<tr class="LC_info_row">
- <td class="LC_left_item">'.&mt($item->{'header'}->[0]->{'col1'}).'</td>
- <td class="LC_right_item">'.&mt($item->{'header'}->[0]->{'col2'}).'</td>
+ <td class="LC_left_item">'.&mt($item->{'header'}->[2]->{'col1'}).'</td>
+ <td class="LC_right_item">'.&mt($item->{'header'}->[2]->{'col2'}).'</td>
</tr>';
}
}