mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-30 07:07:14 +00:00
fix treasury error by yukyik
This commit is contained in:
@@ -729,11 +729,13 @@
|
|||||||
return $this->mysql_fetch_all($result);
|
return $this->mysql_fetch_all($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCoor($wref) {
|
function getCoor($wref) {
|
||||||
$q = "SELECT x,y FROM " . TB_PREFIX . "wdata where id = $wref";
|
if ($wref !=""){
|
||||||
$result = mysql_query($q, $this->connection);
|
$q = "SELECT x,y FROM " . TB_PREFIX . "wdata where id = $wref";
|
||||||
return mysql_fetch_array($result);
|
$result = mysql_query($q, $this->connection);
|
||||||
}
|
return mysql_fetch_array($result);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function CheckForum($id) {
|
function CheckForum($id) {
|
||||||
$q = "SELECT * from " . TB_PREFIX . "forum_cat where alliance = '$id'";
|
$q = "SELECT * from " . TB_PREFIX . "forum_cat where alliance = '$id'";
|
||||||
|
|||||||
Reference in New Issue
Block a user