--- loncom/interface/slotrequest.pm 2006/03/15 19:41:26 1.52 +++ loncom/interface/slotrequest.pm 2006/03/21 16:03:19 1.53 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for requesting to have slots added to a students record # -# $Id: slotrequest.pm,v 1.52 2006/03/15 19:41:26 albertel Exp $ +# $Id: slotrequest.pm,v 1.53 2006/03/21 16:03:19 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -548,6 +548,12 @@ sub allowed_slot { } &Apache::lonxml::debug("$slot_name type good"); + # reserve time not yet started + if ($slot->{'startreserve'} > time) { + return 0; + } + &Apache::lonxml::debug("$slot_name reserve good"); + my $userallowed=0; # its for a different set of users if (defined($slot->{'allowedsections'})) {