]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget.php
Don't show deleted contacts, changed "pending" behaviour
[friendica.git] / src / Content / Widget.php
index 93206be5db6409a5da2a6e83b8f9dad2f110068a..35e8913e0869866dcf9c33778b46c5d2d6d8cb8b 100644 (file)
@@ -137,7 +137,7 @@ class Widget
 
                $extra_sql = self::unavailableNetworks();
 
-               $r = DBA::p("SELECT DISTINCT(`network`) FROM `contact` WHERE `uid` = ? AND `network` != '' $extra_sql ORDER BY `network`",
+               $r = DBA::p("SELECT DISTINCT(`network`) FROM `contact` WHERE `uid` = ? AND NOT `deleted` AND `network` != '' $extra_sql ORDER BY `network`",
                        local_user()
                );