summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/core/Common.php')
-rw-r--r--system/core/Common.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index fd248e9b9..74864ec56 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -691,11 +691,10 @@ if ( ! function_exists('html_escape'))
{
/**
* Returns HTML escaped variable.
- * $double_encode set to FALSE prevents escaping twice.
*
- * @param mixed
- * @param bool
- * @return mixed
+ * @param mixed $var The input string or array of strings to be escaped.
+ * @param bool $double_encode $double_encode set to FALSE prevents escaping twice.
+ * @return mixed The escaped string or array of strings as a result.
*/
function html_escape($var, $double_encode = TRUE)
{