aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/search.php b/search.php
index 85df38202..b0770c0fd 100644
--- a/search.php
+++ b/search.php
@@ -55,10 +55,7 @@ if ( isset( $_POST['search'] ) )
{
$url = 'category.php?cat=search&search='.$search.'&mode='.$_POST['mode'];
$url = add_session_id( $url, true );
- header( 'Request-URI: '.$url );
- header( 'Content-Location: '.$url );
- header( 'Location: '.$url );
- exit();
+ redirect( $url );
}
}
//----------------------------------------------------- template initialization