MDL-10902:
Whoops! Overwrote question object. Variable name changed Thanks to Adriane Boyd for spotting that one. Merged from STABLE_18
This commit is contained in:
@@ -227,8 +227,8 @@ class qformat_gift extends qformat_default {
|
||||
|
||||
// give plugins first try
|
||||
// plugins must promise not to intercept standard qtypes
|
||||
if ($question = $this->try_importing_using_qtypes( $lines, $question, $answertext )) {
|
||||
return $question;
|
||||
if ($try_question = $this->try_importing_using_qtypes( $lines, $question, $answertext )) {
|
||||
return $try_question;
|
||||
}
|
||||
|
||||
if ($description) {
|
||||
|
||||
Reference in New Issue
Block a user