aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/connections.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/connections.php b/mod/connections.php
index e36cb5fc7..679b6d79d 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -223,7 +223,8 @@ function connections_content(&$a) {
}
$sql_extra = (($search_flags) ? " and ( abook_flags & " . $search_flags . " ) " : "");
-
+ if(argv(1) === 'pending')
+ $sql_extra .= " and not ( abook_flags & " . ABOOK_FLAG_IGNORED . " ) ";
}
else {