diff --git a/system/twig.php b/system/twig.php index 35582a6a..34e65a2d 100644 --- a/system/twig.php +++ b/system/twig.php @@ -31,6 +31,11 @@ $function = new Twig_SimpleFunction('getPlayerLink', function ($s, $p) { }); $twig->addFunction($function); +$function = new Twig_SimpleFunction('getGuildLink', function ($s, $p) { + return getGuildLink($s, $p); +}); +$twig->addFunction($function); + $function = new Twig_SimpleFunction('hook', function ($hook) { global $hooks; $hooks->trigger($hook);