summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorfreewil <sean@eternalrise.com>2011-09-29 04:10:44 +0200
committerfreewil <sean@eternalrise.com>2011-09-29 04:10:44 +0200
commit91f00f0d14dc0614f0f2263ff940d6693a21fb4e (patch)
treef193ae7fcc7ef502c285493d1543180c135fdba3 /system/helpers
parent73b295ce336b7f2079895cc59d9c3c9e6713c84c (diff)
remove redundant 'if' in typography helper
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/typography_helper.php6
1 files changed, 0 insertions, 6 deletions
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);
}
}