Skip to content
Snippets Groups Projects
Commit e056c3f0 authored by Fabian Galinski's avatar Fabian Galinski :pouting_cat:
Browse files

[TASK] Make the author id optional as a parameter

parent 153d56e0
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ class NewsByAuthorController extends AbstractController {
* @throws \InvalidArgumentException
* @throws \TYPO3\CMS\Extbase\Persistence\Exception\InvalidQueryException
*/
public function listAction($authorId) {
public function listAction($authorId = 0) {
if ($authorId) {
$newsAuthorsIds[] = $authorId;
} else {
......
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