diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/index.php b/www/index.php index 5261156..8bf8147 100644 --- a/www/index.php +++ b/www/index.php @@ -115,8 +115,8 @@ foreach ($res->hits->hits as &$hit) { $doc->extra = new \stdClass(); $doc->extra->cleanUrl = preg_replace('#^.*://#', '', $doc->url); - if (isset($doc->modate)) { - $doc->extra->day = substr($doc->modate, 0, 10); + if (isset($doc->status->modate)) { + $doc->extra->day = substr($doc->status->modate, 0, 10); } } |
