summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/public.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php
index b13678bf0..76e922dff 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -32,6 +32,7 @@ if (!defined('LACONICA')) {
}
require_once INSTALLDIR.'/lib/publicgroupnav.php';
+require_once INSTALLDIR.'/lib/noticelist.php';
/**
* Action for displaying the public stream
@@ -167,7 +168,7 @@ class PublicAction extends Action
return;
}
- $nl = new NoticeList($notice);
+ $nl = new NoticeList($notice, $this);
$cnt = $nl->show();