X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTemplateParser.php;h=11a8e85656ab24bb171088fa22288f7c5ad60c2e;hb=f1ff66b1dcb5d5aaa04af2cbaa3094c726369655;hp=75494b1ed8eef2927ced9af5596895d87d67570c;hpb=5eff0d6021aa2dc77987ea70ba184446cae08b50;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 ); } }