Bugfix: If "all" is selected then no contacts were shown.

This commit is contained in:
Michael Vogel 2015-02-20 23:33:21 +01:00
parent a8a37a35db
commit 1dc961713d

View file

@ -44,6 +44,9 @@ function contacts_init(&$a) {
$follow_widget = follow_widget(); $follow_widget = follow_widget();
} }
if ($_GET['nets'] == "all")
$_GET['nets'] = "";
$groups_widget .= group_side('contacts','group',false,0,$contact_id); $groups_widget .= group_side('contacts','group',false,0,$contact_id);
$findpeople_widget .= findpeople_widget(); $findpeople_widget .= findpeople_widget();
$networks_widget .= networks_widget('contacts',$_GET['nets']); $networks_widget .= networks_widget('contacts',$_GET['nets']);