fix: Send merchants link would not work for Support

This commit is contained in:
Martin Ambrus
2017-10-22 11:21:51 +02:00
parent 8c61c6ec63
commit a059aac482
+6 -1
View File
@@ -662,7 +662,12 @@ class Building {
} }
public function getTypeLevel($tid,$vid=0) { public function getTypeLevel($tid,$vid=0) {
global $village,$database; global $village,$database,$session;
// Support would not have a village, so this is irrelevant
if ($session->uid == 1) {
return 0;
}
$keyholder = array(); $keyholder = array();