summaryrefslogtreecommitdiffstats
path: root/system/libraries/Input.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Input.php')
-rw-r--r--system/libraries/Input.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Input.php b/system/libraries/Input.php
index ba94d854f..b41dcfb29 100644
--- a/system/libraries/Input.php
+++ b/system/libraries/Input.php
@@ -852,8 +852,8 @@ class CI_Input {
*/
function _html_entity_decode_callback($match)
{
- $CI =& get_instance();
- $charset = $CI->config->item('charset');
+ global $CFG;
+ $charset = $CFG->item('charset');
return $this->_html_entity_decode($match[0], strtoupper($charset));
}