--- rat/lonratedt.pm 2002/10/03 15:07:25 1.37 +++ rat/lonratedt.pm 2002/10/11 14:00:42 1.38 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.37 2002/10/03 15:07:25 www Exp $ +# $Id: lonratedt.pm,v 1.38 2002/10/11 14:00:42 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -103,7 +103,12 @@ sub mapread { } } } - +# ---------------------------------------------- Did we just read an empty map? + if ($#resources<1) { + undef $resources[0]; + $resources[1]=':::start'; + $resources[2]=':::finish'; + } # -------------------------------------------------- This is a linear map, sort my $startidx=0;