Commit 4c0cb746 authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[BUGFIX] Filelist folders not expandable

A wrong type given to JsonResponse->setPayload()
fatals the return type on expanding the filelist
folder tree.

Change-Id: I7510ba7d5098b8b91c5016472487f73c6ca77e2c
Resolves: #83303
Releases: master

Reviewed-by: Oliver Hader's avatarOliver Hader <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
Tested-by: Benni Mack's avatarBenni Mack <>
Tested-by: default avatarTYPO3com <>
parent 879ec6dc
......@@ -236,7 +236,7 @@ class FileSystemNavigationFrameController
if ($this->foldertree->getAjaxStatus() === false) {
return $response->withStatus(500);
return GeneralUtility::makeInstance(JsonResponse::class, $tree);
return GeneralUtility::makeInstance(JsonResponse::class, [$tree]);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment