improve market at least

This commit is contained in:
unknown
2012-04-13 04:15:39 +03:00
parent da595c40a5
commit d598efda1f
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -593,6 +593,8 @@
$dbarray = mysql_fetch_array($result);
return $dbarray['fieldtype'];
}
/*****************************************
Function to retrieve if is ocuped via ID
@@ -1543,7 +1545,6 @@
}
function getVillageByName($name) {
$name = mysql_real_escape_string($name, $this->connection);
$q = "SELECT wref FROM " . TB_PREFIX . "vdata where name = '$name' limit 1";
$result = mysql_query($q, $this->connection);
$dbarray = mysql_fetch_array($result);