fix: hide alliance forum link when defaulting to 0

Relates to #249
Comment URL:
https://github.com/Shadowss/TravianZ/issues/249#issuecomment-341975998
This commit is contained in:
Martin Ambrus
2017-11-05 15:21:45 +01:00
parent 8933b0b55f
commit 86c9a161d3
+1 -1
View File
@@ -89,7 +89,7 @@ include("alli_menu.tpl");
echo "</tr>";
}
}
if($allianceinfo['forumlink'] != ''){
if($allianceinfo['forumlink'] != '' && $allianceinfo['forumlink'] != '0'){
echo "<tr>";
echo "<td><a href='".$allianceinfo['forumlink']."'>» to the forum</td>";
echo "</tr>";