aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-01-15 13:49:29 +0000
committernikrou <nikrou@piwigo.org>2006-01-15 13:49:29 +0000
commit71d78a813f9b10c2fada4eaa25104a9c364ced6f (patch)
tree6ddcab6acb896db36266baaf3dd3afb7cb40fd55 /search.php
parent9d6404ad36375079e815979bd4bf476a5195df5e (diff)
Revert to revision 1002
git-svn-id: http://piwigo.org/svn/branches/branch-1_5@1005 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--search.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/search.php b/search.php
index b02b52daa..2778c8b80 100644
--- a/search.php
+++ b/search.php
@@ -129,6 +129,7 @@ if (isset($_POST['submit']))
if (isset($_POST['submit']) and count($errors) == 0)
{
$url = 'category.php?cat=search&search='.$search_string;
+ $url = add_session_id($url, true);
redirect($url);
}
//----------------------------------------------------- template initialization
@@ -179,9 +180,9 @@ $template->assign_vars(array(
'TODAY_DAY' => date('d', time()),
'TODAY_MONTH' => date('m', time()),
'TODAY_YEAR' => date('Y', time()),
- 'S_SEARCH_ACTION' => 'search.php',
+ 'S_SEARCH_ACTION' => add_session_id( 'search.php' ),
'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=search',
- 'U_HOME' => 'category.php'
+ 'U_HOME' => add_session_id( 'category.php' )
)
);