From 4de52e601c8f26bff8f859e2ab598211db8865ae Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 15 Jul 2013 19:04:23 -0700 Subject: add channel_name to delivery logs because it is a bit more useful than an xchan_hash --- include/items.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index 4a560afc9..b94992815 100755 --- a/include/items.php +++ b/include/items.php @@ -2051,7 +2051,8 @@ function tgroup_check($uid,$item) { $terms = get_terms_oftype($item['term'],TERM_MENTION); - logger('tgroup_check: post mentions: ' . print_r($terms,true), LOGGER_DATA); + if($terms) + logger('tgroup_check: post mentions: ' . print_r($terms,true), LOGGER_DATA); $link = normalise_link($a->get_baseurl() . '/channel/' . $u[0]['channel_address']); -- cgit v1.2.3