[BUGFIX] Parser file not always an array in json_encode 75/41875/3
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 23 Jul 2015 11:45:18 +0000 (13:45 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 23 Jul 2015 17:50:29 +0000 (19:50 +0200)
commit959ac216ea8e19147eadefa64fd9f8dae82b6d5b
tree9b23c82c457199de24f92bfd782c9318807fa598
parent86975e7798b04ec11b575f0bc881ae7e93aaa86c
[BUGFIX] Parser file not always an array in json_encode

The parser file is not always an array. Instead it is a string.
In the end it is returned as json_encode.
This breaks the loading of the parser file.

Resolves: #68483
Releases: master
Change-Id: Ica253fd08dfacabfad2b80ad853c6890ca571c75
Reviewed-on: http://review.typo3.org/41875
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/t3editor/Classes/Hook/FileEditHook.php
typo3/sysext/t3editor/Classes/T3editor.php