aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-23 22:41:32 -0700
committerfriendica <info@friendica.com>2012-04-23 22:41:32 -0700
commit2064d86cb39c20b738ba5f8ca35d4102216a5c30 (patch)
tree20001bd549f007e7cf708fd3e8c1903da2bb91a5 /mod/item.php
parent363753411914ab9d2678c5b47f432e5357ad7a04 (diff)
downloadvolse-hubzilla-2064d86cb39c20b738ba5f8ca35d4102216a5c30.tar.gz
volse-hubzilla-2064d86cb39c20b738ba5f8ca35d4102216a5c30.tar.bz2
volse-hubzilla-2064d86cb39c20b738ba5f8ca35d4102216a5c30.zip
separate tag search from body search
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 642a6758a..1436f7ffc 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -872,7 +872,7 @@ function handle_tag($a, &$body, &$inform, &$str_tags, $profile_uid, $tag) {
//base tag has the tags name only
$basetag = str_replace('_',' ',substr($tag,1));
//create text for link
- $newtag = '#[url=' . $a->get_baseurl() . '/search?search=' . rawurlencode($basetag) . ']' . $basetag . '[/url]';
+ $newtag = '#[url=' . $a->get_baseurl() . '/search?tag=' . rawurlencode($basetag) . ']' . $basetag . '[/url]';
//replace tag by the link
$body = str_replace($tag, $newtag, $body);