--- loncom/interface/lonfeedback.pm 2006/07/18 17:44:43 1.212
+++ loncom/interface/lonfeedback.pm 2006/08/08 19:02:04 1.214
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.212 2006/07/18 17:44:43 albertel Exp $
+# $Id: lonfeedback.pm,v 1.214 2006/08/08 19:02:04 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -186,8 +186,8 @@ sub list_discussion {
push @{$roleinfo{$student}}, 'st:'.$section.':'.$status;
}
($classgroups,$studentgroups) =
- &Apache::loncoursedata::get_group_memberships($classlist,$keylist,
- $cdom,$cnum);
+ &Apache::loncoursedata::get_group_memberships($classlist,$keylist,
+ $cdom,$cnum);
}
# Get discussion display default settings for user
@@ -713,8 +713,8 @@ END
if ($discussiononly) {
my $now = time;
my $attachnum = 0;
- my $currnewattach;
- my $currdelold;
+ my $currnewattach = [];
+ my $currdelold = [];
my $comment = '';
my $subject = '';
if ($env{'form.origpage'}) {
@@ -1683,7 +1683,7 @@ END
}
}
if ($attachmsg) {
- $r->print("Retained attachments:$attachmsg
\n");
+ $r->print("
Retained attachments:$attachmsg
\n");
}
if ($newattachmsg) {
$r->print("$newattachmsg
");
@@ -2061,6 +2061,7 @@ $start_page
$status_types{'all'}
$status_types{'Active'}
$status_types{'Expired'}
+ $status_types{'Future'}