aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php3
1 files changed, 3 insertions, 0 deletions
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' => '',