]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: If "all" is selected then no contacts were shown.
authorMichael Vogel <icarus@dabo.de>
Fri, 20 Feb 2015 22:33:21 +0000 (23:33 +0100)
committerMichael Vogel <icarus@dabo.de>
Fri, 20 Feb 2015 22:33:21 +0000 (23:33 +0100)
mod/contacts.php

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