From 86c9a161d34d5c96ab4e09e8927eb6187fd7a6b4 Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Sun, 5 Nov 2017 15:21:45 +0100 Subject: [PATCH] fix: hide alliance forum link when defaulting to 0 Relates to #249 Comment URL: https://github.com/Shadowss/TravianZ/issues/249#issuecomment-341975998 --- Templates/Alliance/overview.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Alliance/overview.tpl b/Templates/Alliance/overview.tpl index 47e2235e..6e621884 100644 --- a/Templates/Alliance/overview.tpl +++ b/Templates/Alliance/overview.tpl @@ -89,7 +89,7 @@ include("alli_menu.tpl"); echo ""; } } - if($allianceinfo['forumlink'] != ''){ + if($allianceinfo['forumlink'] != '' && $allianceinfo['forumlink'] != '0'){ echo ""; echo "ยป to the forum"; echo "";