--- loncom/homework/lonhomework.pm 2015/07/17 19:11:09 1.356 +++ loncom/homework/lonhomework.pm 2015/09/14 13:45:19 1.357 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.356 2015/07/17 19:11:09 raeburn Exp $ +# $Id: lonhomework.pm,v 1.357 2015/09/14 13:45:19 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1368,7 +1368,8 @@ sub zero_timer { my $now = time; my $first_access=&Apache::lonnet::get_first_access($interval[1],$symb); if ($first_access > 0) { - if ($first_access+$interval[0] > $now) { + my ($timelimit) = split(/_/,$interval[0]); + if ($first_access+$timelimit > $now) { my $done_time = $now - $first_access; my $snum = 1; if ($interval[1] eq 'map') {