aboutsummaryrefslogtreecommitdiffstats
path: root/mod/viewcontacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/viewcontacts.php')
-rw-r--r--mod/viewcontacts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php
index 8e261e711..3c595567f 100644
--- a/mod/viewcontacts.php
+++ b/mod/viewcontacts.php
@@ -18,7 +18,7 @@ function viewcontacts_content(&$a) {
return;
}
- if(((! count($a->profile)) || ($a->profile['hide-friends']))) {
+ if(((! count($a->profile)) || ($a->profile['hide_friends']))) {
notice( t('Permission denied.') . EOL);
return;
}