aboutsummaryrefslogtreecommitdiff
path: root/php/src/Template.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/Template.php')
-rw-r--r--php/src/Template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/Template.php b/php/src/Template.php
index 8dcf944..a3522f7 100644
--- a/php/src/Template.php
+++ b/php/src/Template.php
@@ -526,7 +526,7 @@ class Filters {
self::$FILTERS = [
'h' => function($v) {
- return htmlspecialchars($v, ENT_QUOTES);
+ return htmlspecialchars((string) $v, ENT_QUOTES);
},
'u' => function($v) {