diff options
author | friendica <info@friendica.com> | 2013-06-30 23:04:27 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-06-30 23:04:27 -0700 |
commit | 822a4a028718b81119ab51e47145b2ddf87b775c (patch) | |
tree | a539dcfea5722a94c4c37df6415b6a9485f1098c /mod | |
parent | 9fd4d5f0ccd6ed3f9d6ce79e3ad0b1b338b34b1b (diff) | |
download | volse-hubzilla-822a4a028718b81119ab51e47145b2ddf87b775c.tar.gz volse-hubzilla-822a4a028718b81119ab51e47145b2ddf87b775c.tar.bz2 volse-hubzilla-822a4a028718b81119ab51e47145b2ddf87b775c.zip |
fix some community tagging bugs
Diffstat (limited to 'mod')
-rw-r--r-- | mod/tagger.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/tagger.php b/mod/tagger.php index 6ad026f62..ec5c92184 100644 --- a/mod/tagger.php +++ b/mod/tagger.php @@ -11,6 +11,8 @@ function tagger_content(&$a) { return; } + $observer_hash = get_observer_hash(); + $term = notags(trim($_GET['term'])); // no commas allowed $term = str_replace(array(',',' '),array('','_'),$term); @@ -121,8 +123,8 @@ function tagger_content(&$a) { $arr['obj_type'] = $objtype; $arr['object'] = $obj; $arr['parent_mid'] = $item['mid']; - - store_item_tag($item['uid'],$item['id'],TERM_OBJ_POST,TERM_HASHTAG,$term); + + store_item_tag($item['uid'],$item['id'],TERM_OBJ_POST,TERM_HASHTAG,$term,$tagid); $ret = post_activity_item($arr); if($ret['success']) |