summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2011-04-05 20:58:04 +0200
committerPascal Kriete <pascal.kriete@ellislab.com>2011-04-05 20:58:04 +0200
commit6984aaf27f53b91ab1eafcdccd5fb871dfcd5f18 (patch)
treed0dc8f1407fdd82c7c6605fae37780f4d34f31b2 /system/helpers
parent14a0ac63a9dfb72e4681c37f7727cd48882152bd (diff)
Removing security loading calls.
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/typography_helper.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/helpers/typography_helper.php b/system/helpers/typography_helper.php
index 302bf45c5..19b4eec03 100644
--- a/system/helpers/typography_helper.php
+++ b/system/helpers/typography_helper.php
@@ -84,9 +84,8 @@ if ( ! function_exists('entity_decode'))
{
function entity_decode($str, $charset='UTF-8')
{
- $CI =& get_instance();
- $CI->load->library('security');
- return $CI->security->entity_decode($str, $charset);
+ global $SEC;
+ return $SEC->entity_decode($str, $charset);
}
}