more fixes

This commit is contained in:
unknown
2012-06-24 13:55:49 +03:00
parent c6f79e67c9
commit 3be71c2eaf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2197,7 +2197,7 @@ class Automation {
$database->setVillageField($data['to'],loyalty,($toF['loyalty']-$rand));
} else {
//you took over the village
$villname = $database->getVillageField($data['to'],"name");
$villname = addslashes($database->getVillageField($data['to'],"name"));
$artifact = $database->getOwnArtefactInfo($data['to']);
$info_chief = "".$chief_pic.",Inhabitants of ".$villname." village decided to join your empire.";
if ($artifact['vref'] == $data['to']){