aboutsummaryrefslogtreecommitdiffstats
path: root/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'profile.php')
-rw-r--r--profile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.php b/profile.php
index c3ce554ca..30e28c256 100644
--- a/profile.php
+++ b/profile.php
@@ -132,7 +132,7 @@ if ( isset( $_POST['submit'] ) )
$url = 'category.php?cat='.$page['cat'].'&expand='.$_GET['expand'];
if ( $page['cat'] == 'search' )
{
- $url.= '&search='.$_GET['search'];
+ $url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
}
$url = add_session_id( $url, true );
header( 'Request-URI: '.$url );
@@ -152,7 +152,7 @@ templatize_array( $tpl, 'lang', $handle );
$url = './profile.php?cat='.$page['cat'].'&expand='.$page['expand'];
if ( $page['cat'] == 'search' )
{
- $url.= '&search='.$_GET['search'];
+ $url.= '&search='.$_GET['search'].'&mode='.$_GET['mode'];
}
$vtp->setGlobalVar( $handle, 'form_action', add_session_id( $url ) );
//-------------------------------------------------------------- errors display