Skip to content
Browse files

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

  • Loading branch information...
1 parent e893d6b commit 69199e4aa2cca7a62748964a50ad1ff7a0098e2e @rwijaya rwijaya committed Jan 11, 2013
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) {

0 comments on commit 69199e4

Please sign in to comment.
Something went wrong with that request. Please try again.