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);
$this->notice->id,
strtotime($this->notice->created),
strtotime($this->profile->modified),
- ($this->avatar) ? strtotime($this->avatar->modified) : 0));
+ ($this->avatar) ? strtotime($this->avatar->modified) : 0)) . '"';
}
function handle($args) {