[+BUGFIX] Fluid (ViewHelpers): RenderViewHelper works with TYPO3
authorSebastian Kurfürst <sebastian@typo3.org>
Wed, 22 Sep 2010 06:28:15 +0000 (06:28 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Wed, 22 Sep 2010 06:28:15 +0000 (06:28 +0000)
commit85a0b640045402d713cdb26636ff144cd295e1f1
treec2caba438f1c115746f25dbcbbefbf70666fc7a4
parentdc77ba679530634d4a6b520bf6317fa5caa83d6a
[+BUGFIX] Fluid (ViewHelpers): RenderViewHelper works with TYPO3

In I14c6dd4d9db13a98f1873a79bb43fbf299d2c835, we have introduced
a change which caused the Menu generation in TYPO3 Phoenix to crash,
as {settings} is not available in these templates.

Now, a check has been added which checks for {settings} being present.

Additionally, a unit test has been written testing this behavior.
typo3/sysext/fluid/Classes/ViewHelpers/RenderViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/RenderViewHelperTest.php [new file with mode: 0644]