mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
MDL-62275 qtype_calculatedmulti: Fix typo
This commit is contained in:
parent
c941c541b4
commit
a274f62195
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class qtype_calculatedmulti extends qtype_calculated {
|
|||
}
|
||||
$replaces[$formula] = $str;
|
||||
}
|
||||
$anstext = str_replace(arary_keys($replaces), arary_values($replaces), $anssubstituted);
|
||||
$anstext = str_replace(array_keys($replaces), array_values($replaces), $anssubstituted);
|
||||
$comment->stranswers[$key] = $anssubstituted.'<br/>'.$anstext;
|
||||
}
|
||||
return fullclone($comment);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue