diff --git a/actions/shownotice.php b/actions/shownotice.php index a8f5060d24..b60b6f5a72 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);