aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/search.php')
-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
+?>