MDL-28655 qtype_calculated question engine upgrade: fix return value

This commit is contained in:
Henning Bostelmann 2011-08-08 23:53:34 +01:00
parent 3fdc622697
commit 35ee6e333d

View File

@ -98,7 +98,7 @@ class qtype_calculated_qe2_attempt_updater extends question_qtype_attempt_update
}
if (!$realanswer) {
return '';
return array('', '');
}
if (strpos($realanswer, '|||||') === false) {