X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=languages%2FLanguage.php;h=a1cc4bc9f2a841290ab44eaedd9cb84831e01125;hb=63c1c841d88f4dc572ceded8b48bd44937713ec6;hp=68727bb233136bc3031a2f312470818afed0a42f;hpb=0f0ba2132f9cfc6b37d89c93ea2bcd4e07aa7dbe;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/Language.php b/languages/Language.php index 68727bb233..a1cc4bc9f2 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -4508,7 +4508,7 @@ class Language { # such as action=raw much more expensive than they need to be. # This will hopefully cover most cases. $talk = preg_replace_callback( '/{{grammar:(.*?)\|(.*?)}}/i', - [ &$this, 'replaceGrammarInNamespace' ], $talk ); + [ $this, 'replaceGrammarInNamespace' ], $talk ); return str_replace( ' ', '_', $talk ); }