correct last-modified date for shownotice.php

This commit is contained in:
Evan Prodromou 2009-05-30 21:45:11 -04:00
parent f134ba68ab
commit 4ec1c33307

View File

@ -122,7 +122,7 @@ class ShownoticeAction extends Action
function lastModified()
{
return max(strtotime($this->notice->created),
return max(strtotime($this->notice->modified),
strtotime($this->profile->modified),
($this->avatar) ? strtotime($this->avatar->modified) : 0);
}