From: Evan Prodromou Date: Tue, 2 Dec 2008 04:53:20 +0000 (-0500) Subject: notices have a create stamp not a modified stamp X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28751ef5543d4786d101810b4f87deb0d00037c7;p=quix0rs-gnu-social.git notices have a create stamp not a modified stamp darcs-hash:20081202045320-5ed1f-583091191425d10b695107ddc2e1a5e72b60130d.gz --- diff --git a/actions/shownotice.php b/actions/shownotice.php index d32846aadc..5190757563 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -48,7 +48,7 @@ class ShownoticeAction extends StreamAction { } function last_modified() { - return max(strtotime($this->notice->modified), + return max(strtotime($this->notice->created), strtotime($this->profile->modified), ($this->avatar) ? strtotime($this->avatar->modified) : 0); } @@ -57,7 +57,7 @@ class ShownoticeAction extends StreamAction { return 'W/"' . implode(':', array($this->arg('action'), common_language(), $this->notice->id, - strtotime($this->notice->modified), + strtotime($this->notice->created), strtotime($this->profile->modified), ($this->avatar) ? strtotime($this->avatar->modified) : 0)); }