summaryrefslogtreecommitdiffstats
path: root/system/core/Config.php
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2012-12-03 11:31:00 +0100
committervlakoff <vlakoff@gmail.com>2012-12-03 11:31:00 +0100
commit4d9fd19e6e224042e04f71c35b174990a177527d (patch)
tree6af41f5beeabda48ca275963666158e9c9da67b8 /system/core/Config.php
parent66cb413bc614bfe50d02059347a0ad0351a014c2 (diff)
config->site_url(): remove useless cast
thanks to narfbg
Diffstat (limited to 'system/core/Config.php')
-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 !== '')
{