Permalink
Browse files

config->site_url(): remove useless cast

thanks to narfbg
  • Loading branch information...
1 parent 66cb413 commit 4d9fd19e6e224042e04f71c35b174990a177527d @vlakoff vlakoff committed Dec 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/core/Config.php
View
@@ -245,7 +245,7 @@ public function site_url($uri = '')
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 !== '')
{

0 comments on commit 4d9fd19

Please sign in to comment.