--- loncom/homework/lonhomework.pm 2008/05/19 20:38:04 1.292 +++ loncom/homework/lonhomework.pm 2008/05/19 21:07:33 1.293 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.292 2008/05/19 20:38:04 www Exp $ +# $Id: lonhomework.pm,v 1.293 2008/05/19 21:07:33 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1102,12 +1102,12 @@ sub get_template_list { next if ($file->[1] !~ /\S/); if ($file->[2] ne $currentcategory) { $currentcategory=$file->[2]; - $count++; if ((!$seconddiv) && ($count >= $midpoint)) { $result .= ''."\n".'
'."\n"; $seconddiv = 1; } $result.='

'.$currentcategory.'

'; + $count++; } $result .= '