aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-27 16:01:28 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-27 16:01:28 +0000
commit863a99d057dd776d88c38f16fcf7c07ca3431cf3 (patch)
treefbc3977e872f6f9cb4131912dba2fcb50b580c58 /engine
parent7baad302a90c1af727870e482ea3b8d4f3a19156 (diff)
downloadelgg-863a99d057dd776d88c38f16fcf7c07ca3431cf3.tar.gz
elgg-863a99d057dd776d88c38f16fcf7c07ca3431cf3.tar.bz2
Fixes #1191: set_input() was never being called for tag in search_page_handler().
git-svn-id: https://code.elgg.org/elgg/trunk@3446 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/search.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/lib/search.php b/engine/lib/search.php
index 6a9d023b8..222c0b6e9 100644
--- a/engine/lib/search.php
+++ b/engine/lib/search.php
@@ -26,6 +26,10 @@
{
global $CONFIG;
+ if(!get_input('tag')) {
+ set_input('tag', $page[0]);
+ }
+
if (isset($page[0])) {
switch ($page[0]) {
case 'user' :
@@ -43,4 +47,4 @@
/** Register init system event **/
register_elgg_event_handler('init','system','search_init');
-?> \ No newline at end of file
+?>