commit | 20e802eea2fc455622a0f4f721cb82acb046f5b8 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Feb 24 12:16:48 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Mon Feb 24 12:16:48 2014 +0200 |
tree | 692ec54c53cd82b219bed07d4e3a1119551d10c6 | |
parent | c26b9ebb00e29be2e972fece3bcf73d33249a64b [diff] [blame] |
Really don't use globals
diff --git a/system/helpers/typography_helper.php b/system/helpers/typography_helper.php index cd3827c..f08e78b 100644 --- a/system/helpers/typography_helper.php +++ b/system/helpers/typography_helper.php
@@ -88,8 +88,7 @@ */ function entity_decode($str, $charset = NULL) { - global $SEC; - return $SEC->entity_decode($str, $charset); + return get_instance()->security->entity_decode($str, $charset); } }