summaryrefslogtreecommitdiff
path: root/views.php
diff options
context:
space:
mode:
Diffstat (limited to 'views.php')
-rw-r--r--views.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views.php b/views.php
index e7841031..90c16709 100644
--- a/views.php
+++ b/views.php
@@ -169,10 +169,10 @@
foreach($_POST['view'] as $s) {
$status = $data->dropView($s, isset($_POST['cascade']));
if ($status == 0)
- $msg.= sprintf('%s: %s<br />', htmlentities($s), $lang['strviewdropped']);
+ $msg.= sprintf('%s: %s<br />', htmlentities($s, ENT_QUOTES, 'UTF-8'), $lang['strviewdropped']);
else {
$data->endTransaction();
- doDefault(sprintf('%s%s: %s<br />', $msg, htmlentities($s), $lang['strviewdroppedbad']));
+ doDefault(sprintf('%s%s: %s<br />', $msg, htmlentities($s, ENT_QUOTES, 'UTF-8'), $lang['strviewdroppedbad']));
return;
}
}