summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Input.php b/system/libraries/Input.php
index 4e312c7aa..f558e91e4 100644
--- a/system/libraries/Input.php
+++ b/system/libraries/Input.php
@@ -962,7 +962,7 @@ class CI_Input {
*/
function _html_entity_decode_callback($match)
{
- global $CFG;
+ $CFG =& load_class('Config');
$charset = $CFG->item('charset');
return $this->_html_entity_decode($match[0], strtoupper($charset));