Permalink
Browse files

MDL-28655 qtype_calculated question engine upgrade: fix return value

  • Loading branch information...
1 parent 3fdc622 commit 35ee6e333dc0a4d1faaf6c3aef62e44d209c811f @bostelm bostelm committed Aug 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 35ee6e3

Please sign in to comment.