summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/shownotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php
index a8f5060d2..b60b6f5a7 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -29,7 +29,7 @@ class ShownoticeAction extends StreamAction {
function prepare($args) {
- parent::init($args);
+ parent::prepare($args);
$id = $this->arg('notice');
$this->notice = Notice::staticGet($id);