[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet assesscalc.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Wed, 16 Jul 2003 16:35:45 -0000
matthew Wed Jul 16 12:35:45 2003 EDT
Modified files:
/loncom/interface/spreadsheet assesscalc.pm
Log:
Fix bug which caused discussion/evaluation/feedback/tutoring to not
be picked up for titles.
Index: loncom/interface/spreadsheet/assesscalc.pm
diff -u loncom/interface/spreadsheet/assesscalc.pm:1.15 loncom/interface/spreadsheet/assesscalc.pm:1.16
--- loncom/interface/spreadsheet/assesscalc.pm:1.15 Mon Jun 23 16:47:00 2003
+++ loncom/interface/spreadsheet/assesscalc.pm Wed Jul 16 12:35:45 2003
@@ -1,5 +1,5 @@
#
-# $Id: assesscalc.pm,v 1.15 2003/06/23 20:47:00 matthew Exp $
+# $Id: assesscalc.pm,v 1.16 2003/07/16 16:35:45 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -334,11 +334,11 @@
sub get_title {
my $self = shift;
my @title = ();
- if (($self->{'usymb'} eq '_feedback') ||
- ($self->{'usymb'} eq '_evaluation') ||
- ($self->{'usymb'} eq '_discussion') ||
- ($self->{'usymb'} eq '_tutoring')) {
- my $assess_title = ucfirst($self->{'usymb'});
+ if (($self->{'symb'} eq '_feedback') ||
+ ($self->{'symb'} eq '_evaluation') ||
+ ($self->{'symb'} eq '_discussion') ||
+ ($self->{'symb'} eq '_tutoring')) {
+ my $assess_title = ucfirst($self->{'symb'});
$assess_title =~ s/^_//;
push(@title,$assess_title);
} else {