--- loncom/interface/slotrequest.pm 2006/02/26 19:40:14 1.48 +++ loncom/interface/slotrequest.pm 2006/03/21 16:05:57 1.48.2.1 @@ -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.48 2006/02/26 19:40:14 albertel Exp $ +# $Id: slotrequest.pm,v 1.48.2.1 2006/03/21 16:05:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -551,6 +551,12 @@ sub allowed_slot { && $slot->{'symb'} ne $symb) { return 0; } + # reserve time not yet started + if ($slot->{'startreserve'} > time) { + return 0; + } + &Apache::lonxml::debug("$slot_name reserve good"); + my $conflict = &check_for_conflict($symb,$slot_name,$slot,$slots, $consumed_uniqueperiods); if ($conflict) {