fix text bug and syntax bug

This commit is contained in:
unknown
2012-06-05 16:53:35 +03:00
parent b8d1267a4a
commit b985698c19
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1831,7 +1831,7 @@ class Automation {
$database->query($q);
$database->addTech($data['to']);
//delete reinforcement
$q = "DELETE FROM ".TB_PREFIX."enforcement WHERE from = ".$data['to'],"";
$q = "DELETE FROM ".TB_PREFIX."enforcement WHERE from = ".$data['to']."";
$database->query($q);
// check buildings
$pop1 = $database->getVillageField($data['from'],"pop");