From 6229736d07e59196b13d39058c3c9fb0e11b4f01 Mon Sep 17 00:00:00 2001 From: slawkens Date: Mon, 1 Apr 2024 23:40:53 +0200 Subject: [PATCH] getPlayerLink -> colored --- system/twig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/twig.php b/system/twig.php index ad17b24aeb..b07a3a4c7b 100644 --- a/system/twig.php +++ b/system/twig.php @@ -71,8 +71,8 @@ }); $twig->addFunction($function); -$function = new TwigFunction('getPlayerLink', function ($s, $p = true) { - return getPlayerLink($s, $p); +$function = new TwigFunction('getPlayerLink', function ($s, $p = true, $colored = false) { + return getPlayerLink($s, $p, $colored); }); $twig->addFunction($function);