aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/connections.php')
-rw-r--r--mod/connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/connections.php b/mod/connections.php
index c98709470..2f49ee374 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -345,7 +345,7 @@ function connections_content(&$a) {
$channel = $a->get_channel();
$global_perms = get_perms();
- $existing = get_all_perms(local_user(),$contact);
+ $existing = get_all_perms(local_user(),$contact['abook_xchan']);
$unapproved = array('pending', t('Approve this connection'), '', t('Accept connection to allow communication'));