--- loncom/interface/loncommon.pm 2006/04/06 20:52:58 1.326 +++ loncom/interface/loncommon.pm 2006/04/07 21:56:00 1.327 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.326 2006/04/06 20:52:58 albertel Exp $ +# $Id: loncommon.pm,v 1.327 2006/04/07 21:56:00 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -58,7 +58,6 @@ use strict; use Apache::lonnet; use GDBM_File; use POSIX qw(strftime mktime); -use Apache::Constants qw(:common :http :methods); use Apache::lonmenu(); use Apache::lonlocal; use HTML::Entities; @@ -3202,7 +3201,7 @@ sub simple_error_page { &Apache::loncommon::end_page(); if (ref($r)) { $r->print($page); - return OK; + return; } return $page; }