summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-10-01 11:13:28 -0700
committerZach Copley <zach@status.net>2010-10-01 11:13:28 -0700
commit1a870e8ac63db53180d2182ef2b0800c3d543144 (patch)
treea2324b075923aa088ead1d6f5e2b1c29c391ecb9
parent8439774cf7cc2c352cbdfa0020f9345bc9741302 (diff)
parent12f68c4ff243829a435f774e4d486ccfb381a11d (diff)
Merge branch 'master' of gitorious.org:statusnet/mainline
-rw-r--r--actions/showstream.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 2476f19fa..e9f117afc 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -222,7 +222,10 @@ class ShowstreamAction extends ProfileAction
? $this->user->getNotices(($this->page-1)*NOTICES_PER_PAGE, NOTICES_PER_PAGE + 1)
: $this->user->getTaggedNotices($this->tag, ($this->page-1)*NOTICES_PER_PAGE, NOTICES_PER_PAGE + 1, 0, 0, null);
- $pnl = new ProfileNoticeList($notice, $this);
+ $pnl = null;
+ if (Event::handle('ShowStreamNoticeList', array($notice, $this, &$pnl))) {
+ $pnl = new ProfileNoticeList($notice, $this);
+ }
$cnt = $pnl->show();
if (0 == $cnt) {
$this->showEmptyListMessage();