[TYPO3-core] RFC #9979: Bug: enableFields doesn't work with boolean as parameter

Martin Kutschker masi-no at spam-typo3.org
Wed Dec 9 09:26:22 CET 2009


Michael Knabe schrieb:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=9979
> 
> Branch: Trunk
> 
> Problem:
> According to typo3conf/ext/t3dev/apidocs/tslib_content_api.html
> the method enableFields expects a boolean as the second parameter
> ($show_hidden) but only integers lead to the desired result.

The default value of -1 clearly shows that the argument is not a boolean. So the docs aare wrong,
not the code.

Masi


More information about the TYPO3-team-core mailing list