Merge pull request #511 from freewil/typography-helper-dry

remove redundant 'if' in typography helper
diff --git a/system/helpers/typography_helper.php b/system/helpers/typography_helper.php
index 82e686e..e8cb037 100644
--- a/system/helpers/typography_helper.php
+++ b/system/helpers/typography_helper.php
@@ -76,6 +76,7 @@
  *
  * @access	public
  * @param	string
+ * @param   string
  * @return	string
  */
 if ( ! function_exists('entity_decode'))
@@ -83,12 +84,6 @@
 	function entity_decode($str, $charset = NULL)
 	{
 		global $SEC;
-		
-		if (empty($charset))
-		{
-			$charset = config_item('charset');
-		}
-		
 		return $SEC->entity_decode($str, $charset);
 	}
 }