Skip to content

Commit

Permalink
Merge branch 'MDL-76725-400' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_400_STABLE
  • Loading branch information
junpataleta committed Jan 19, 2023
2 parents 3c44c15 + a7d6f79 commit 6cec384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/wiki/parser/markups/wikimarkup.php
Expand Up @@ -332,7 +332,7 @@ protected function format_image($src, $alt, $caption = "", $align = 'left') {

protected function real_path($url) {
$callbackargs = array_merge(array($url), $this->realpathcallbackargs);
return call_user_func_array($this->realpathcallback, $callbackargs);
return call_user_func_array($this->realpathcallback, array_values($callbackargs));
}

/**
Expand Down

0 comments on commit 6cec384

Please sign in to comment.