From 91f00f0d14dc0614f0f2263ff940d6693a21fb4e Mon Sep 17 00:00:00 2001 From: freewil Date: Wed, 28 Sep 2011 22:10:44 -0400 Subject: remove redundant 'if' in typography helper --- system/helpers/typography_helper.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'system/helpers') diff --git a/system/helpers/typography_helper.php b/system/helpers/typography_helper.php index 82e686e53..d5b52a810 100644 --- a/system/helpers/typography_helper.php +++ b/system/helpers/typography_helper.php @@ -83,12 +83,6 @@ if ( ! function_exists('entity_decode')) function entity_decode($str, $charset = NULL) { global $SEC; - - if (empty($charset)) - { - $charset = config_item('charset'); - } - return $SEC->entity_decode($str, $charset); } } -- cgit v1.2.3-24-g4f1b