--- loncom/homework/lonhomework.pm 2005/03/17 21:56:04 1.200 +++ loncom/homework/lonhomework.pm 2005/03/21 18:53:51 1.201 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.200 2005/03/17 21:56:04 albertel Exp $ +# $Id: lonhomework.pm,v 1.201 2005/03/21 18:53:51 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -232,10 +232,12 @@ sub check_task_access { # } my $slotstatus='NOT_IN_A_SLOT'; foreach my $slot (@slots) { + &Apache::lonxml::debug("getting $slot"); my %slot=&Apache::lonnet::get_slot($slot); + &Apache::lonhomework::showhash(%slot); if ($slot{'starttime'} < time && $slot{'endtime'} > time && - &check_ip_access($slot{'ip'})) { + &check_ip_acc($slot{'ip'})) { $slotstatus='IN_A_SLOT'; last; }