summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {