forked from GNUsocial/gnu-social
Don't tryto show a section if nothing comes back from profiles
This commit is contained in:
parent
dde1c00ce7
commit
0029ebad11
@ -52,6 +52,10 @@ class ProfileSection extends Section
|
||||
{
|
||||
$profiles = $this->getProfiles();
|
||||
|
||||
if (!$profiles) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$cnt = 0;
|
||||
|
||||
$this->out->elementStart('ul', 'entities users xoxo');
|
||||
|
Loading…
Reference in New Issue
Block a user