diff options
author | Paul Duncan <pabs@pablotron.org> | 2018-09-27 17:26:44 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2018-09-27 17:26:44 -0400 |
commit | a682532f8b9f59915362d2fb24bc15596ea1cbef (patch) | |
tree | 6811e5cfc97d1b265aa19daf7b4a1f055d113316 /php/src | |
parent | c5f5795bef35f48b44d105168e7bbe353c71ecc8 (diff) | |
download | luigi-template-a682532f8b9f59915362d2fb24bc15596ea1cbef.tar.bz2 luigi-template-a682532f8b9f59915362d2fb24bc15596ea1cbef.zip |
php: h template: coerce to string
Diffstat (limited to 'php/src')
-rw-r--r-- | php/src/Template.php | 2 |
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) { |