Fixing various

This commit is contained in:
Antonis Farangitakis
2016-12-29 19:19:24 +02:00
committed by Antz
parent f79e902477
commit 24e1fac367
5 changed files with 31 additions and 15 deletions
+3 -1
View File
@@ -167,8 +167,10 @@ function GetQuestStrings(&$data) {
$data['OfferRewardText'] = QuestReplaceStr(htmlspecialchars(!empty($data['OfferRewardText_loc']) ? $data['OfferRewardText_loc'] : $data['OfferRewardText'] ));
$data['EndText'] = QuestReplaceStr(htmlspecialchars(!empty($data['EndText_loc']) ? $data['EndText_loc'] : $data['EndText'] ));
for ($j = 0; $j <= 3; ++$j)
for ($j = 1; $j <= 4; ++$j)
{
$data['ObjectiveText'][$j] = QuestReplaceStr(htmlspecialchars(!empty($data['ObjectiveText' . $j . '_loc']) ? $data['ObjectiveText' . $j . '_loc'] : $data['ObjectiveText' . $j]));
}
}
/**