mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
parent
2793c41655
commit
02eea950e4
@ -1265,7 +1265,7 @@ function getCustomPage($page, &$success)
|
||||
}
|
||||
|
||||
function escapeHtml($html) {
|
||||
return htmlentities($html, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
|
||||
return htmlspecialchars($html);
|
||||
}
|
||||
|
||||
function displayErrorBoxWithBackButton($errors, $action = null) {
|
||||
|
@ -157,7 +157,7 @@ if (empty($_REQUEST['creature'])) {
|
||||
echo '</td></tr>';
|
||||
echo '</TABLE>';
|
||||
} else {
|
||||
echo "Monster with name <b>" . $monster_name . "</b> doesn't exist.";
|
||||
echo "Monster with name <b>" . htmlspecialchars($monster_name) . "</b> doesn't exist.";
|
||||
}
|
||||
|
||||
//back button
|
||||
|
Loading…
x
Reference in New Issue
Block a user