Don't tryto show a section if nothing comes back from profiles

This commit is contained in:
Evan Prodromou 2009-01-22 19:54:35 +00:00
parent dde1c00ce7
commit 0029ebad11
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ class ProfileSection extends Section
{
$profiles = $this->getProfiles();
if (!$profiles) {
return false;
}
$cnt = 0;
$this->out->elementStart('ul', 'entities users xoxo');