Skip to content

Commit

Permalink
config->site_url(): remove useless cast
Browse files Browse the repository at this point in the history
thanks to narfbg
  • Loading branch information
vlakoff committed Dec 3, 2012
1 parent 66cb413 commit 4d9fd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 !== '')
{
Expand Down

0 comments on commit 4d9fd19

Please sign in to comment.