--- loncom/homework/lonhomework.pm 2003/09/11 20:03:28 1.140 +++ loncom/homework/lonhomework.pm 2003/09/15 18:43:53 1.141 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.140 2003/09/11 20:03:28 albertel Exp $ +# $Id: lonhomework.pm,v 1.141 2003/09/15 18:43:53 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -660,9 +660,9 @@ sub handler { # if we are browsing we might not be able to know where we are if ($Apache::lonhomework::browse ne 'F') { #should know where we are, so ask - if ( Apache::exists_config_define("MODPERL2") ) { + &Apache::lonnet::cleanenv(); - } + $request->internal_redirect('/adm/ambiguous'); return; } }