mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
MDL-28655 qtype_calculated question engine upgrade: fix return value
This commit is contained in:
parent
3fdc622697
commit
35ee6e333d
@ -98,7 +98,7 @@ class qtype_calculated_qe2_attempt_updater extends question_qtype_attempt_update
|
||||
}
|
||||
|
||||
if (!$realanswer) {
|
||||
return '';
|
||||
return array('', '');
|
||||
}
|
||||
|
||||
if (strpos($realanswer, '|||||') === false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user