summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers/url_helper.php')
-rw-r--r--system/helpers/url_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index 9010a06a3..3ca597460 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -442,9 +442,9 @@ function redirect($uri = '', $method = 'location')
{
switch($method)
{
- case 'refresh' : header("Refresh:0;url=".site_url($uri));
+ case 'refresh' : header("Refresh:0;url=".site_url($uri));
break;
- default : header("location:".site_url($uri));
+ default : header("location:".site_url($uri));
break;
}
exit;