summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-01 23:53:20 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-01 23:53:20 -0500
commit28751ef5543d4786d101810b4f87deb0d00037c7 (patch)
tree126f772a894a20c044cade324981ac9db88a9f86 /actions/shownotice.php
parentc3f2d195f934c4deff91d30640ec703cb576e55d (diff)
notices have a create stamp not a modified stamp
darcs-hash:20081202045320-5ed1f-583091191425d10b695107ddc2e1a5e72b60130d.gz
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r--actions/shownotice.php4
1 files changed, 2 insertions, 2 deletions
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));
}