FluidTYPO3 / vhs

TYPO3 extension VHS: Fluid ViewHelpers
https://fluidtypo3.org
Other
190 stars 229 forks source link

[BUGFIX] Fix unsafe array access for 'reverse' argument #1778

Closed smichaelsen closed 2 years ago

smichaelsen commented 2 years ago

The reverse ViewHelper argument is not initialized by AbstractMenuViewHelper and not by any other MenuViewhelper that is distributed with EXT:vhs. So most of the times -if not always- $this->arguments won't have the reverse key and we fall back to false which is also the default value of getRooline()s 2nd argument.