forked from GNUsocial/gnu-social
Fix: last modified header wasn't showing
This commit is contained in:
parent
8b8e0c95af
commit
c5f33cc6c2
@ -161,7 +161,7 @@ class ApiShowAction extends TwitterapiAction
|
|||||||
function lastModified()
|
function lastModified()
|
||||||
{
|
{
|
||||||
if (!empty($this->notice)) {
|
if (!empty($this->notice)) {
|
||||||
return strtotime($this->notices->created);
|
return strtotime($this->notice->created);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user