Skip to content

Commit

Permalink
[TASK] Fixing Extension Form Path
Browse files Browse the repository at this point in the history
The Files defined at allowedExtensionPaths are not shown

Releases: master
Resolves: #87376
Change-Id: I7dc96f8cea4a434ee2946482268a2dee8a0952ca
Reviewed-on: https://review.typo3.org/59384
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
  • Loading branch information
Patrick Bloch authored and janhelke committed Jan 11, 2019
1 parent 5cdc68f commit c9a62cd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -809,6 +809,6 @@ protected function isFileWithinAccessibleExtensionFolders(string $fileName): boo
*/
protected function looksLikeAFormDefinition(array $data): bool
{
return isset($data['identifier'], $data['type']) && !empty($data['identifier']) && $data['type'] === 'Form';
return isset($data['identifier'], $data['type']) && !empty($data['identifier']) && trim($data['type']) === 'Form';
}
}

0 comments on commit c9a62cd

Please sign in to comment.