1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-08 21:30:54 +02:00

Closes #4702 - Added news_modified field.

This commit is contained in:
Cameron
2022-03-14 14:03:34 -07:00
parent 6257a2a716
commit 057cc8e35b
4 changed files with 8 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ class news_gsitemap
{
$ret[] = [
'url' => $this->url('news', $row),
'lastmod' => (int) $row['news_datestamp'],
'lastmod' => !empty($row['news_modified']) ? $row['news_modified'] : (int) $row['news_datestamp'],
'freq' => 'hourly',
'priority' => 0.5
];