From 4d9fd19e6e224042e04f71c35b174990a177527d Mon Sep 17 00:00:00 2001 From: vlakoff Date: Mon, 3 Dec 2012 11:31:00 +0100 Subject: config->site_url(): remove useless cast thanks to narfbg --- system/core/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !== '') { -- cgit v1.2.3-24-g4f1b