aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/input/button.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/failsafe/input/button.php')
-rw-r--r--views/failsafe/input/button.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/failsafe/input/button.php b/views/failsafe/input/button.php
index ac1bfe784..4d0da9b72 100644
--- a/views/failsafe/input/button.php
+++ b/views/failsafe/input/button.php
@@ -33,7 +33,7 @@
default: $type = 'submit';
}
- $value = htmlentities($vars['value'], null, 'UTF-8');
+ $value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8');
$name = $vars['internalname'];
$src = $vars['src'];
if (strpos($src,$CONFIG->wwwroot)===false) $src = ""; // blank src if trying to access an offsite image.