]> git.mxchange.org Git - friendica.git/blobdiff - mod/search.php
Add Install Mode
[friendica.git] / mod / search.php
index afe94121dbca37f28c39ab8c35d6500f6a5c8230..be0f943d07c4a7e830089213a26588e308eacaed 100644 (file)
@@ -11,7 +11,6 @@ use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
 
-require_once "include/bbcode.php";
 require_once 'include/security.php';
 require_once 'include/conversation.php';
 require_once 'mod/dirfind.php';
@@ -147,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