--- loncom/interface/slotrequest.pm 2008/12/21 04:14:39 1.85 +++ loncom/interface/slotrequest.pm 2009/01/23 21:34:47 1.86 @@ -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.85 2008/12/21 04:14:39 raeburn Exp $ +# $Id: slotrequest.pm,v 1.86 2009/01/23 21:34:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -756,7 +756,7 @@ sub allowed_slot { $consumed_uniqueperiods); if ($conflict =~ /^error: /) { return 0; - } else { + } elsif ($conflict ne '') { if ($slots->{$conflict}{'starttime'} < time) { return 0; }