Permalink
Browse files

MDL-28655 qtype_calculated question engine upgrade: fix return value

  • Loading branch information...
1 parent 80eb52c commit fe34282df6c7a149824e51ea646fc9a0ecbff4ef @bostelm bostelm committed Aug 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/calculated/db/upgradelib.php
View
2 question/type/calculated/db/upgradelib.php
@@ -98,7 +98,7 @@ protected function parse_response($state) {
}
if (!$realanswer) {
- return '';
+ return array('', '');
}
if (strpos($realanswer, '|||||') === false) {

0 comments on commit fe34282

Please sign in to comment.