From cfe8094b458c62cbab0b79dd957c31dbf60a26c4 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 6 Jan 2012 00:23:05 -0800 Subject: nets widget - allow all children of specified parent net regardless of network --- include/contact_widgets.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/contact_widgets.php') diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 424f2997e..caa0572d2 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -61,6 +61,9 @@ function networks_widget($baseurl,$selected = '') { } } + if(count($nets) < 2) + return ''; + return replace_macros(get_markup_template('nets.tpl'),array( '$title' => t('Networks'), '$desc' => '', -- cgit v1.2.3