]> git.mxchange.org Git - friendica.git/blobdiff - include/contact_widgets.php
template proc: fix variables regexp
[friendica.git] / include / contact_widgets.php
old mode 100644 (file)
new mode 100755 (executable)
index 424f299..caa0572
@@ -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' => '',