diff options
author | friendica <info@friendica.com> | 2013-02-10 23:19:52 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-10 23:19:52 -0800 |
commit | 191af201fb48d902a7aa22699ab882e60d439e2d (patch) | |
tree | aa9de39892a79e5dc10dc18678cb3096c074e5a1 /include/items.php | |
parent | c42dbebd7624c78df9e2a063feda3e3fc97440b7 (diff) | |
download | volse-hubzilla-191af201fb48d902a7aa22699ab882e60d439e2d.tar.gz volse-hubzilla-191af201fb48d902a7aa22699ab882e60d439e2d.tar.bz2 volse-hubzilla-191af201fb48d902a7aa22699ab882e60d439e2d.zip |
debug tag_deliver
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 7db3e96a7..a192c79a2 100755 --- a/include/items.php +++ b/include/items.php @@ -1615,8 +1615,9 @@ function tag_deliver($uid,$item_id) { $terms = get_terms_oftype($item['term'],TERM_MENTION); + logger('tag_deliver: post mentions: ' . print_r($terms,true), LOGGER_DATA); - $link = normalise_link($a->get_baseurl() . '/channel/' . $u[0]['nickname']); + $link = normalise_link($a->get_baseurl() . '/channel/' . $u[0]['channel_address']); if($terms) { foreach($terms as $term) { @@ -1628,6 +1629,8 @@ function tag_deliver($uid,$item_id) { } if($mention) { + logger('tag_deliver: mention found for ' . $u[0]['channel_name']); + $r = q("update item set item_flags = ( item_flags | %d ) where id = %d limit 1", intval(ITEM_MENTIONSME), intval($item_id) |