diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-05-25 08:31:39 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-05-25 08:31:39 +0000 |
commit | 1de10bd66f761f8b66dcaecd28f5c2547b754ff3 (patch) | |
tree | 4588721b837ce115214e1f6a1525408fc3e46aa7 /profile.php | |
parent | 887c7ee4d443259498795d4760cc8d38d359ed38 (diff) |
search improved
git-svn-id: http://piwigo.org/svn/trunk@17 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'profile.php')
-rw-r--r-- | profile.php | 4 |
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 |