removed a global
diff --git a/system/libraries/Input.php b/system/libraries/Input.php
index 4e312c7..f558e91 100644
--- a/system/libraries/Input.php
+++ b/system/libraries/Input.php
@@ -962,7 +962,7 @@
 	 */

 	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));