Skip to content
Snippets Groups Projects
Commit ed16dd37 authored by Mark Harding's avatar Mark Harding
Browse files

(chore): fallback to time_created if no time_updated

parent d73937ef
No related branches found
No related tags found
Loading
......@@ -70,7 +70,7 @@ class SitemapTrending extends SitemapModule
break;
}
$this->addOrUpdateRoute($route, $entity->time_updated);
$this->addOrUpdateRoute($route, $entity->time_updated ?: $entity->time_created);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment