subscribers list wasn't firing correct events

This commit is contained in:
Evan Prodromou 2010-03-03 15:09:07 -05:00
parent ccd0db1e0a
commit c82efb7fd8
1 changed files with 6 additions and 3 deletions

View File

@ -143,9 +143,12 @@ class SubscribersListItem extends SubscriptionListItem
function showActions()
{
$this->startActions();
$this->showSubscribeButton();
// Relevant code!
$this->showBlockForm();
if (Event::handle('StartProfileListItemActionElements', array($this))) {
$this->showSubscribeButton();
// Relevant code!
$this->showBlockForm();
Event::handle('EndProfileListItemActionElements', array($this));
}
$this->endActions();
}