summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-17 09:09:53 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-17 09:09:53 +0200
commit54d3ed6f0ebd943f9e689a2d1d6026e203913022 (patch)
tree053a889729f69801b2d7ad1f6ba0e477ce580964
parent7799f52d9ba6efc0c309b04d23178f5c84d12e94 (diff)
removed a global
-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));