--- loncom/interface/lonnavmaps.pm 2004/03/08 17:31:37 1.251 +++ loncom/interface/lonnavmaps.pm 2004/03/08 19:41:28 1.252 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.251 2004/03/08 17:31:37 www Exp $ +# $Id: lonnavmaps.pm,v 1.252 2004/03/08 19:41:28 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -381,7 +381,7 @@ sub getDescription { # Convenience function, so others can use it: Is the problem due in less then # 24 hours, and still can be done? -sub dueInLessThen24Hours { +sub dueInLessThan24Hours { my $res = shift; my $part = shift; my $status = $res->status($part); @@ -1064,7 +1064,7 @@ sub render_long_status { if ($resource->is_problem()) { $color = $colormap{$resource->status}; - if (dueInLessThen24Hours($resource, $part) || + if (dueInLessThan24Hours($resource, $part) || lastTry($resource, $part)) { $color = $hurryUpColor; }