[BUGFIX] Check for string before using strlen 92/24092/3
authorMarkus Klein <klein.t3@mfc-linz.at>
Thu, 26 Sep 2013 21:53:12 +0000 (23:53 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 26 Sep 2013 22:27:22 +0000 (00:27 +0200)
commitcd1e12bf04e0a41d861e1f2ab8019437b558c2f9
tree3af8141320f812bce4f8313ef08268056569909b
parentc8d2033e3a0c470d8e22e9c1ed830367f0aa1849
[BUGFIX] Check for string before using strlen

If pi_flexform is converted to an array already, checking via strlen
produces a warning. An additional check via is_string suppresses the
warning.

Resolves: #52091
Resolves: #51684
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I97c41cdedb1afb28e2a9ca39e1d9cfb3921d9f47
Reviewed-on: https://review.typo3.org/24092
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extbase/Classes/Configuration/FrontendConfigurationManager.php