[LON-CAPA-cvs] cvs: loncom /interface lonmsgdisplay.pm
www
www@source.lon-capa.org
Sun, 06 Jun 2010 01:17:08 -0000
www Sun Jun 6 01:17:08 2010 EDT
Modified files:
/loncom/interface lonmsgdisplay.pm
Log:
Bug #5614: lost headers when cancelling reply
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.151 loncom/interface/lonmsgdisplay.pm:1.152
--- loncom/interface/lonmsgdisplay.pm:1.151 Sat May 29 23:19:52 2010
+++ loncom/interface/lonmsgdisplay.pm Sun Jun 6 01:17:08 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging display
#
-# $Id: lonmsgdisplay.pm,v 1.151 2010/05/29 23:19:52 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.152 2010/06/06 01:17:08 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3310,6 +3310,9 @@
$r->print($message);
}
}
+ } else {
+ &printheader($r,'','Messages cancelled.');
+ return 'cancelled';
}
return $sendstatus;
}