update similar posts

This commit is contained in:
Simon Vieille 2022-09-10 11:24:10 +02:00
parent a142474085
commit 88b43b9202
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -66,6 +66,10 @@ class PostRepository extends ServiceEntityRepository
continue;
}
if (null === $result->getImage()) {
continue;
}
if ($result->getPublishedAt() > $now) {
continue;
}