]> git.mxchange.org Git - friendica.git/blobdiff - mod/search.php
Decrease scope of query in Profile::getEventsReminderHTML
[friendica.git] / mod / search.php
index 1f93934658f822b0ff31526cbcedb9c8a41df42f..be0f943d07c4a7e830089213a26588e308eacaed 100644 (file)
@@ -146,7 +146,7 @@ function search_content(App $a) {
        $tag = false;
        if (x($_GET,'tag')) {
                $tag = true;
-               $search = ((x($_GET,'tag')) ? notags(trim(rawurldecode($_GET['tag']))) : '');
+               $search = (x($_GET,'tag') ? '#' . notags(trim(rawurldecode($_GET['tag']))) : '');
        }
 
        // contruct a wrapper for the search header