Update db_MYSQL.php

This commit is contained in:
Shadow
2013-11-29 09:31:41 +02:00
parent 92bf026184
commit a21b367747
+1 -1
View File
@@ -2055,7 +2055,7 @@ class MYSQL_DB {
$result = mysql_query($x, $this->connection) or die(mysql_error());
$fieldlevel = mysql_fetch_row($result);
if($fieldlevel[0] == 0) {
if ($village->natar!=1) { //fix by ronix
if ($village->natar!=1 && $jobs[$jobDeleted]['field']!=99) { //fix by ronix
$x = "UPDATE " . TB_PREFIX . "fdata SET f" . $jobs[$jobDeleted]['field'] . "t=0 WHERE vref=" . $jobs[$jobDeleted]['wid'];
mysql_query($x, $this->connection) or die(mysql_error());
}