From 28751ef5543d4786d101810b4f87deb0d00037c7 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 1 Dec 2008 23:53:20 -0500 Subject: notices have a create stamp not a modified stamp darcs-hash:20081202045320-5ed1f-583091191425d10b695107ddc2e1a5e72b60130d.gz --- actions/shownotice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/shownotice.php') diff --git a/actions/shownotice.php b/actions/shownotice.php index d32846aad..519075756 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)); } -- cgit v1.2.3-54-g00ecf