Fix header for Annotation question type - refs BT#12615

pull/2487/head
Angel Fernando Quiroz Campos 8 years ago
parent 4664d73bfa
commit 199abc7e73
  1. 11
      main/exercise/Annotation.php

@ -119,4 +119,15 @@ class Annotation extends Question
$this->weighting = $form->getSubmitValue('weighting');
$this->save($exercise);
}
/**
* @inheritDoc
*/
public function return_header($exercise, $counter = null, $score = [])
{
$score['revised'] = $this->isQuestionWaitingReview($score);
return parent::return_header($exercise, $counter, $score); // TODO: Change the autogenerated stub
}
}

Loading…
Cancel
Save