summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/public.php2
-rw-r--r--lib/action.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php
index e00f8efba..b13678bf0 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -31,6 +31,8 @@ if (!defined('LACONICA')) {
exit(1);
}
+require_once INSTALLDIR.'/lib/publicgroupnav.php';
+
/**
* Action for displaying the public stream
*
diff --git a/lib/action.php b/lib/action.php
index 5f6c600b1..4b9db4652 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -278,7 +278,7 @@ class Action extends HTMLOutputter // lawsuit
function showNoticeForm()
{
- $notice_form = new NoticeForm();
+ $notice_form = new NoticeForm($this);
$notice_form->show();
}