aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-03-01 11:35:02 +0100
committermarijus <mario@mariovavti.com>2014-03-01 11:35:02 +0100
commitdb266958c43196564ff8ee30fc1e95a0f459c185 (patch)
tree22726f51148b79f5ff319453418df14f0ee8df29
parent6b6052d5a9dcbbd9f1edeb829008ccc0ac1efb3b (diff)
parent9a5a2146a2eeb01116fb2d7ea206707878cb6b20 (diff)
downloadvolse-hubzilla-db266958c43196564ff8ee30fc1e95a0f459c185.tar.gz
volse-hubzilla-db266958c43196564ff8ee30fc1e95a0f459c185.tar.bz2
volse-hubzilla-db266958c43196564ff8ee30fc1e95a0f459c185.zip
Merge branch 'master' of https://github.com/friendica/red
-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 {