mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 17:07:17 +00:00
fix: Send merchants link would not work for Support
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user