diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index e853aab4..0b5df4cb 100644 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -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']){ diff --git a/Templates/Build/16_99.tpl b/Templates/Build/16_99.tpl index 172472b9..0d604d11 100644 --- a/Templates/Build/16_99.tpl +++ b/Templates/Build/16_99.tpl @@ -70,7 +70,7 @@ if(!$session->goldclub) {
merchantAvail()) { echo "DISABLED"; }?>/>
+