Skip to content
Permalink
Browse files

Fix invalid value of htmlspecialchars argument

  • Loading branch information...
bancer committed Nov 11, 2018
1 parent d080e1d commit c2fac8f2c2bbb1473a2f4a29089eeff127424834
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Core/functions.php
@@ -69,6 +69,7 @@ function h($text, $double = true, $charset = null)
'Use the 3rd argument instead.'
);
$charset = $double;
$double = true;
}
return htmlspecialchars($text, ENT_QUOTES | ENT_SUBSTITUTE, $charset ?: $defaultCharset, $double);

0 comments on commit c2fac8f

Please sign in to comment.
You can’t perform that action at this time.