MDL-28655 qtype_calculated question engine upgrade: fix return value
[moodle.git] / question / type / calculated / db / upgradelib.php
index d4c8418..fbc597e 100644 (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) {