allow one to ignore pending connections

This commit is contained in:
friendica 2014-02-28 16:00:29 -08:00
parent ed1e975faf
commit 429022e116

View file

@ -223,7 +223,8 @@ function connections_content(&$a) {
} }
$sql_extra = (($search_flags) ? " and ( abook_flags & " . $search_flags . " ) " : ""); $sql_extra = (($search_flags) ? " and ( abook_flags & " . $search_flags . " ) " : "");
if(argv(1) === 'pending')
$sql_extra .= " and not ( abook_flags & " . ABOOK_FLAG_IGNORED . " ) ";
} }
else { else {