[LON-CAPA-cvs] cvs: loncom /interface lonbulletin.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Sat, 19 Jan 2008 15:28:52 -0000
raeburn Sat Jan 19 10:28:52 2008 EDT
Modified files:
/loncom/interface lonbulletin.pm
Log:
Same pathology as bug 4256 for lonsimplepage.pm. Same fix.
Index: loncom/interface/lonbulletin.pm
diff -u loncom/interface/lonbulletin.pm:1.44 loncom/interface/lonbulletin.pm:1.45
--- loncom/interface/lonbulletin.pm:1.44 Mon Jul 2 20:12:30 2007
+++ loncom/interface/lonbulletin.pm Sat Jan 19 10:28:52 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Bulletin Board Handler
#
-# $Id: lonbulletin.pm,v 1.44 2007/07/03 00:12:30 www Exp $
+# $Id: lonbulletin.pm,v 1.45 2008/01/19 15:28:52 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -237,7 +237,8 @@
'<h3>'.&mt('Upload a Photo').'</h3>'.
'<input type="file" name="uploaddoc" size="50">'.
'<input type="submit" name="storeupl" value="'.&mt('Upload').'">'.
- '</form><form method="post">');
+ '</form><form method="post">'.
+ '<input type="hidden" name="forceedit" value="edit" />');
}
foreach my $field (sort(keys(%syllabusfields))) {
if (($syllabus{$field}) || ($allowed)) {