mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 02:24:21 +00:00
fix text bug and syntax bug
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user