--- loncom/homework/hint.pm 2001/04/05 00:08:40 1.10 +++ loncom/homework/hint.pm 2001/04/10 22:06:59 1.11 @@ -22,8 +22,8 @@ sub start_hintgroup { my $hinttries=&Apache::lonnet::EXT("resource.$id.hinttries"); if ( $hinttries eq '') { $hinttries = 1; } &Apache::lonxml::debug("found :$id:$numtries:$hinttries:"); - if ( $numtries <= $hinttries ) { - $skiptoend='1'; + if ( $numtries < $hinttries ) { + $skiptoend='1'; } else { if ($target eq 'web') {$result='
';} } @@ -46,7 +46,7 @@ sub end_hintgroup { my $hinttries=&Apache::lonnet::EXT("resource.$id.hinttries"); if ( $hinttries eq '') { $hinttries = 1; } &Apache::lonxml::debug("found :$id:$numtries:$hinttries:"); - if ( $numtries <= $hinttries ) { + if ( $numtries => $hinttries ) { if ($target eq 'web') {$result=' |