[TYPO3-core] RFC: #13493: Cleanup return value in t3lib_userauthgroup check()
Georg Ringer
news at ringerge.org
Wed Feb 10 08:32:17 CET 2010
Hi,
this is a SVN patch request.
Type: Bug, nobrainer
Bugtracker references: http://bugs.typo3.org/view.php?id=13493
Branches: Trunk, 4.3, 4.2
Problem:
The comment states that the return value is boolean but there is
actually a return 1; and no default return
Solution:
- Change "return 1;" to "return TRUE;"
- Set a default "return false;" at the end of the function
Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13493-t3lib_userauthgroup_return.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100210/5d872069/attachment.asc>
More information about the TYPO3-team-core
mailing list