aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-31 17:03:07 -0700
committerfriendica <info@friendica.com>2014-03-31 17:03:07 -0700
commit93f90040a12cdf7ba70d16773b36a29afa5ad83a (patch)
tree7b84c3388d1591dcf0964da8becaad8d71f83f21 /include/items.php
parent03c53502cb7770d9994776d9a2818c4621befb66 (diff)
downloadvolse-hubzilla-93f90040a12cdf7ba70d16773b36a29afa5ad83a.tar.gz
volse-hubzilla-93f90040a12cdf7ba70d16773b36a29afa5ad83a.tar.bz2
volse-hubzilla-93f90040a12cdf7ba70d16773b36a29afa5ad83a.zip
community tags don't show up in the tagged posts because we removed the displayed list of hashtags at the bottom (which are usually redundant since hashtags are usually present in the message text). This brings them back, but only for tags which aren't currently present in the message body (e.g. community tags)
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index ec324b6a3..f1778e722 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2339,6 +2339,7 @@ function tag_deliver($uid,$item_id) {
if($j_obj && $j_obj['id'] && $j_obj['title']) {
if(is_array($j_obj['link']))
$taglink = get_rel_link($j_obj['link'],'alternate');
+
store_item_tag($u[0]['channel_id'],$p[0]['id'],TERM_OBJ_POST,TERM_HASHTAG,$j_obj['title'],$j_obj['id']);
$x = q("update item set edited = '%s', received = '%s', changed = '%s' where mid = '%s' and uid = %d limit 1",
dbesc(datetime_convert()),