@@ -111,7 +111,7 @@ |
||
| 111 | 111 | |
| 112 | 112 | $articles = $articleRepository->findByCriteria($criteria); |
| 113 | 113 | $total = $articles->getTotalHits(); |
| 114 | - $articles = $articles->getResults(0, $total !== 0 ? $total : 1 ); |
|
| 114 | + $articles = $articles->getResults(0, $total !== 0 ? $total : 1); |
|
| 115 | 115 | $data = $this->objectsToArray($articles->toArray()); |
| 116 | 116 | $path = $this->cacheDir.'/'.$fileName; |
| 117 | 117 | |