diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-02 08:22:09 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-02 08:22:09 -0400 |
commit | d04ab14a5a15f9119bedca1332eb516ecf5ca483 (patch) | |
tree | ad7fdf3b4a585c5d97bcac44b01ba2fbb8887b97 /lib/profileaction.php | |
parent | aea546c12234e9b24abba8da5d172a99e8b93ac2 (diff) | |
parent | 734f631e1ea9022c6de492e0d2979c9ca00585a4 (diff) |
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
Diffstat (limited to 'lib/profileaction.php')
-rw-r--r-- | lib/profileaction.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/profileaction.php b/lib/profileaction.php index 2519922b2..eeb5dbe48 100644 --- a/lib/profileaction.php +++ b/lib/profileaction.php @@ -108,7 +108,9 @@ class ProfileAction extends OwnerDesignAction $this->element('h2', null, _('Subscriptions')); - if ($profile) { + $cnt = 0; + + if (!empty($profile)) { $pml = new ProfileMiniList($profile, $this); $cnt = $pml->show(); if ($cnt == 0) { @@ -137,7 +139,9 @@ class ProfileAction extends OwnerDesignAction $this->element('h2', null, _('Subscribers')); - if ($profile) { + $cnt = 0; + + if (!empty($profile)) { $pml = new ProfileMiniList($profile, $this); $cnt = $pml->show(); if ($cnt == 0) { |