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:
@@ -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
|
||||
];
|
||||
|
Reference in New Issue
Block a user