Diff for /loncom/homework/hint.pm between versions 1.57 and 1.58

version 1.57, 2004/11/19 22:26:37 version 1.58, 2004/12/06 19:48:22
Line 54  sub start_hintgroup { Line 54  sub start_hintgroup {
     $Apache::lonhomework::history{"resource.$id.solved"};      $Apache::lonhomework::history{"resource.$id.solved"};
  my $showoncorrect=lc(&Apache::lonxml::get_param('showoncorrect',$parstack,$safeeval));   my $showoncorrect=lc(&Apache::lonxml::get_param('showoncorrect',$parstack,$safeeval));
  &Apache::lonxml::debug("onc orrect $showoncorrect, $gradestatus");   &Apache::lonxml::debug("onc orrect $showoncorrect, $gradestatus");
  if ( ($showoncorrect ne 'yes' && $gradestatus =~ /^correct/) ||   if ( ($showoncorrect ne 'yes' && &Apache::response::show_answer()) ||
      ( $numtries < $hinttries) ) {       ( $numtries < $hinttries) ) {
     &Apache::lonxml::debug("Grabbin all");      &Apache::lonxml::debug("Grabbin all");
     &Apache::lonxml::get_all_text("/hintgroup",$parser);      &Apache::lonxml::get_all_text("/hintgroup",$parser);

Removed from v.1.57  
changed lines
  Added in v.1.58


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>