Skip to content
Snippets Groups Projects
Commit 863c48e6 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Fixing bug when filters are empty

parent ccea8c23
No related branches found
Tags 5.1.0
1 merge request!5Feature 5 2 0
...@@ -380,7 +380,7 @@ class OverviewController extends AbstractController { ...@@ -380,7 +380,7 @@ class OverviewController extends AbstractController {
* @throws \InvalidArgumentException * @throws \InvalidArgumentException
* @throws \TYPO3\CMS\Extbase\Persistence\Exception\InvalidQueryException * @throws \TYPO3\CMS\Extbase\Persistence\Exception\InvalidQueryException
*/ */
protected function overviewWithoutCategoriesAction(array $newsMetaData = [], array $newsFilter = []) { protected function overviewWithoutCategoriesAction(array $newsMetaData = [], array $newsFilter = NULL) {
if (empty($newsFilter)) { if (empty($newsFilter)) {
$newsFilter = $this->request->getArguments()['newsFilter']; $newsFilter = $this->request->getArguments()['newsFilter'];
} }
......
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