MDL-28655 qtype_calculated question engine upgrade: fix return value
This commit is contained in:
@@ -98,7 +98,7 @@ class qtype_calculated_qe2_attempt_updater extends question_qtype_attempt_update
|
||||
}
|
||||
|
||||
if (!$realanswer) {
|
||||
return '';
|
||||
return array('', '');
|
||||
}
|
||||
|
||||
if (strpos($realanswer, '|||||') === false) {
|
||||
|
||||
Reference in New Issue
Block a user