Skip to content

Commit

Permalink
Update deprecated implode() call to ensure php8 compatibility (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyten committed Jun 9, 2023
1 parent 2571acf commit eaa225d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format.php
Expand Up @@ -52,7 +52,7 @@ public function cleaned_text_field($text) {
*/
public function readquestions($lines) {
question_bank::get_qtype('multianswer'); // Ensure the multianswer code is loaded.
$text = implode($lines, ' ');
$text = implode(' ', $lines);
unset($lines);
// This converts xml to big nasty data structure,
// the 0 means keep white space as it is.
Expand Down

0 comments on commit eaa225d

Please sign in to comment.