Skip to content
Snippets Groups Projects
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-on: https://review.typo3.org/55053


Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
parent 879ec6dc
Branches
Tags
No related merge requests found
......@@ -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]);
}
/**
......
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