summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/core/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Config.php b/system/core/Config.php
index 9e6d2cbf2..38bcd5c8f 100644
--- a/system/core/Config.php
+++ b/system/core/Config.php
@@ -245,7 +245,7 @@ class CI_Config {
if ($this->item('enable_query_strings') === FALSE)
{
- $suffix = isset($this->config['url_suffix']) ? (string) $this->config['url_suffix'] : '';
+ $suffix = isset($this->config['url_suffix']) ? $this->config['url_suffix'] : '';
if ($suffix !== '')
{