--- loncom/interface/lonmsgdisplay.pm 2010/01/25 21:08:48 1.124.4.7 +++ loncom/interface/lonmsgdisplay.pm 2010/01/30 22:28:20 1.124.4.8 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging display # -# $Id: lonmsgdisplay.pm,v 1.124.4.7 2010/01/25 21:08:48 raeburn Exp $ +# $Id: lonmsgdisplay.pm,v 1.124.4.8 2010/01/30 22:28:20 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2329,7 +2329,7 @@ sub displaymessage { if ( $blocked{$msgid} eq 'ON' ) { &printheader($r,'/adm/email',&mt('Display a Message')); $r->print(&mt('You attempted to display a message that is currently blocked because you are enrolled in one or more courses for which there is an ongoing online exam.')); - &build_block_table($r,$startblock,$endblock,\%setters); + $r->print(&Apache::loncommon::build_block_table($startblock,$endblock,\%setters)); return; } if ($msgstatus eq '') {