Merge branch 'MDL-66409-edit-numerical/moodle36' of https://github.com/RaAstons/moodle into MOODLE_36_STABLE

This commit is contained in:
Jake Dallimore
2019-09-10 13:35:21 +08:00
+1 -1
View File
@@ -4476,7 +4476,7 @@ abstract class lesson_page extends lesson_base {
$this->answers[$i]->responseformat = $properties->response_editor[$i]['format'];
}
if (isset($this->answers[$i]->answer) && $this->answers[$i]->answer != '') {
if ($this->answers[$i]->answer !== null && $this->answers[$i]->answer !== '') {
if (isset($properties->jumpto[$i])) {
$this->answers[$i]->jumpto = $properties->jumpto[$i];
}