Skip to content
Snippets Groups Projects
Commit 301f1bbf authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix TYPO3 10 compat issue

parent 931ddb12
No related branches found
No related tags found
No related merge requests found
...@@ -647,7 +647,7 @@ class NewsRepository extends AbstractRepository { ...@@ -647,7 +647,7 @@ class NewsRepository extends AbstractRepository {
$qb->addSelectLiteral($qb->expr()->sum('tx_sgnews_likes', 'sum_likes')) $qb->addSelectLiteral($qb->expr()->sum('tx_sgnews_likes', 'sum_likes'))
->from('pages', 'pages') ->from('pages', 'pages')
->where($qb->expr()->or(...$constraints)); ->where($qb->expr()->orX(...$constraints));
return $qb->execute()->fetchOne(); return $qb->execute()->fetchOne();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment