Details
-
Type:
Bug
-
Status:
Development in progress
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Component/s: Questions
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
Description
When attempting a shortanswer question in a HEAD after entering some data and sending it there is a PHP Notice:
Notice: Undefined property: question_shortanswer_qtype::$raw_unitpenalty
in Z:\home\moodle\www\question\type\shortanswer\questiontype.php on line 320
Issue Links
| This issue will be resolved by: | ||||
| MDL-20380 | Allow child classes to use their own display.html file without overloading print_question_formulation_and_controls |
|
|
|
adding a test i.e. isset($this->raw_unitpenalty) && remove the problem.