X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshownotice.php;h=b60b6f5a722367c91ee4f65c1a6955bc18d6a9cd;hb=2abe10b8ea4b5d69fc7f6513bf465541454ca2cf;hp=183668fa8ec67791269be28c8a76ee4aae3a27d0;hpb=0498aa94ecf796d4e08518f2c5b3a4410437e079;p=quix0rs-gnu-social.git diff --git a/actions/shownotice.php b/actions/shownotice.php index 183668fa8e..b60b6f5a72 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -23,9 +23,13 @@ require_once(INSTALLDIR.'/lib/stream.php'); class ShownoticeAction extends StreamAction { - function init($args) { + var $notice = NULL; + var $profile = NULL; + var $avatar = NULL; - parent::init($args); + function prepare($args) { + + parent::prepare($args); $id = $this->arg('notice'); $this->notice = Notice::staticGet($id);