From 863a99d057dd776d88c38f16fcf7c07ca3431cf3 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 27 Aug 2009 16:01:28 +0000 Subject: 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 --- engine/lib/search.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 +?> -- cgit v1.2.3