diff options
author | friendica <info@friendica.com> | 2014-02-16 16:04:46 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-16 16:04:46 -0800 |
commit | 70526915c87b57e4d91f0ab9a518d34a6dc04c82 (patch) | |
tree | a8f736754077e2a113b51185ec55d2f86657f7b2 /include/items.php | |
parent | 16cd9e2a7e111b4c1ea8babb69862cb82775fa09 (diff) | |
download | volse-hubzilla-70526915c87b57e4d91f0ab9a518d34a6dc04c82.tar.gz volse-hubzilla-70526915c87b57e4d91f0ab9a518d34a6dc04c82.tar.bz2 volse-hubzilla-70526915c87b57e4d91f0ab9a518d34a6dc04c82.zip |
several things were not working correctly w/r/t community tagging. The preference vanished from settings at some point, and we also weren't updating the original post timestamp so that the changed taxonomy would propagate correctly as an edit.
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 9bcdd7d0b..bf575860a 100755 --- a/include/items.php +++ b/include/items.php @@ -2263,6 +2263,13 @@ function tag_deliver($uid,$item_id) { 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()), + dbesc(datetime_convert()), + dbesc(datetime_convert()), + dbesc($j_tgt['id']), + intval($u[0]['channel_id']) + ); proc_run('php','include/notifier.php','edit_post',$p[0]['id']); } } |