--- loncom/homework/inputtags.pm 2000/12/12 14:54:10 1.15 +++ loncom/homework/inputtags.pm 2000/12/12 20:38:22 1.16 @@ -257,7 +257,8 @@ sub gradestatus { } my $button=''; my $tries = $Apache::lonhomework::history{"resource.$id.tries"}; - my $maxtries = $Apache::lonhomework::history{"resource.$id.maxtries"}; + my $maxtries = &Apache::lonnet::EXT("resource.$id.maxtries"); + &Apache::lonxml::debug("goit maxtries of :$maxtries:"); if ( $tries eq '' ) { $tries = '0'; } if ( $maxtries eq '' ) { $maxtries = '2'; } my $trystr='';