diff options
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index a1b718d44..0b4ed6ee6 100644 --- a/include/text.php +++ b/include/text.php @@ -528,7 +528,7 @@ function contact_block() { if($shown == 0) return; - if((! is_array($a->profile)) || ($a->profile['hide-friends'])) + if((! is_array($a->profile)) || ($a->profile['hide_friends'])) return $o; $r = q("SELECT COUNT(*) AS `total` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 and `pending` = 0 AND `hidden` = 0 AND `archive` = 0", intval($a->profile['uid']) |