aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
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']);