aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-15 19:04:23 -0700
committerfriendica <info@friendica.com>2013-07-15 19:04:23 -0700
commit4de52e601c8f26bff8f859e2ab598211db8865ae (patch)
tree8c293946503b5a6ede43d904eda00a06a55df802 /include/items.php
parent2cfd9a3fa9819d492a9718f0ae8cc7bb8fc3faac (diff)
downloadvolse-hubzilla-4de52e601c8f26bff8f859e2ab598211db8865ae.tar.gz
volse-hubzilla-4de52e601c8f26bff8f859e2ab598211db8865ae.tar.bz2
volse-hubzilla-4de52e601c8f26bff8f859e2ab598211db8865ae.zip
add channel_name to delivery logs because it is a bit more useful than an xchan_hash
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php3
1 files changed, 2 insertions, 1 deletions
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']);