aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVasudev Kamath <kamathvasudev@gmail.com>2012-02-12 15:06:41 +0530
committerVasudev Kamath <kamathvasudev@gmail.com>2012-02-12 15:06:41 +0530
commit495d0fb80f228e2edf68fb0a52b460851403d379 (patch)
tree65b7eb9285b706d1187a07dc2f1bb9f1837708ae /include
parentcbf53beec12bf835177695fef9cd6a33ce9d1629 (diff)
parent8b101c6cb865c24cefd610e01ad628abd1152217 (diff)
downloadvolse-hubzilla-495d0fb80f228e2edf68fb0a52b460851403d379.tar.gz
volse-hubzilla-495d0fb80f228e2edf68fb0a52b460851403d379.tar.bz2
volse-hubzilla-495d0fb80f228e2edf68fb0a52b460851403d379.zip
Merge branch 'master' of git://github.com/friendica/friendica
Diffstat (limited to 'include')
-rwxr-xr-xinclude/text.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 68170e988..46027a897 100755
--- a/include/text.php
+++ b/include/text.php
@@ -538,8 +538,10 @@ function contact_block() {
$a = get_app();
$shown = get_pconfig($a->profile['uid'],'system','display_friend_count');
- if(! $shown)
+ if($shown === false)
$shown = 24;
+ if($shown == 0)
+ return;
if((! is_array($a->profile)) || ($a->profile['hide-friends']))
return $o;