X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTemplateParser.php;h=11a8e85656ab24bb171088fa22288f7c5ad60c2e;hb=0d5da03a15911f0bcaab7f67512280df379565fc;hp=75494b1ed8eef2927ced9af5596895d87d67570c;hpb=1658759d42a5d802e29a71c3fd70ae127afd3e46;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/TemplateParser.php b/includes/TemplateParser.php index 75494b1ed8..11a8e85656 100644 --- a/includes/TemplateParser.php +++ b/includes/TemplateParser.php @@ -220,6 +220,6 @@ class TemplateParser { */ public function processTemplate( $templateName, $args, array $scopes = [] ) { $template = $this->getTemplate( $templateName ); - return call_user_func( $template, $args, $scopes ); + return $template( $args, $scopes ); } }