--- 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='
';} } } @@ -56,6 +56,7 @@ sub end_hintgroup { sub start_numericalhint { #do everything in end, so intervening work + return ''; } sub end_numericalhint { @@ -110,6 +111,7 @@ sub start_hintpart { } sub end_hintpart { + return ''; } 1;