Commit ed16dd37 authored by Mark Harding's avatar Mark Harding

(chore): fallback to time_created if no time_updated

parent d73937ef
No related merge requests found
Pipeline #64228188 passed with stages
in 6 minutes and 36 seconds
......@@ -70,7 +70,7 @@ class SitemapTrending extends SitemapModule
break;
}
$this->addOrUpdateRoute($route, $entity->time_updated);
$this->addOrUpdateRoute($route, $entity->time_updated ?: $entity->time_created);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment