Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-34050 Lesson module: Fixed undefined variable for $qtype

  • Loading branch information...
commit f7109ce6d8693b5932eb93ce8e9525725e9fddef 1 parent 0fabd97
@rwijaya rwijaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/lesson/locallib.php
View
2  mod/lesson/locallib.php
@@ -2309,7 +2309,7 @@ public function properties() {
}
if (count($this->answers)>0) {
$count = 0;
- $properties->qtype;
+ $qtype = $properties->qtype;
foreach ($this->answers as $answer) {
$properties->{'answer_editor['.$count.']'} = array('text'=>$answer->answer, 'format'=>$answer->answerformat);
if ($qtype != LESSON_PAGE_MATCHING) {
Please sign in to comment.
Something went wrong with that request. Please try again.