summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-24 11:16:48 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-24 11:16:48 +0100
commit20e802eea2fc455622a0f4f721cb82acb046f5b8 (patch)
tree692ec54c53cd82b219bed07d4e3a1119551d10c6 /system/helpers
parentc26b9ebb00e29be2e972fece3bcf73d33249a64b (diff)
Really don't use globals
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/typography_helper.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/typography_helper.php b/system/helpers/typography_helper.php
index cd3827c8b..f08e78be6 100644
--- a/system/helpers/typography_helper.php
+++ b/system/helpers/typography_helper.php
@@ -88,8 +88,7 @@ if ( ! function_exists('entity_decode'))
*/
function entity_decode($str, $charset = NULL)
{
- global $SEC;
- return $SEC->entity_decode($str, $charset);
+ return get_instance()->security->entity_decode($str, $charset);
}
}