From 20e802eea2fc455622a0f4f721cb82acb046f5b8 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 24 Feb 2014 12:16:48 +0200 Subject: Really don't use globals --- system/helpers/typography_helper.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'system/helpers') 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); } } -- cgit v1.2.3-24-g4f1b