Issue Task Closed

#38604Code Cleanup: Always return a boolean in t3lib_div::validPathStr

Andy Grunwald 07/03/12, 19:49 updated 09/23/12, 15:16

Description

In t3lib_div::validPathStr() a boolean (TRUE) is returned, if this is a valid path string.
If it is NOT a valid path string, then nothing will be returned.
In the doc comment, there is a return type “boolean” mentioned.

Just return a boolean, if it is not a valid path string.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.