Review TYPO3_4-5 Merged

12667[TASK] Always return a boolean in t3lib_div::validPathStr

Mario Rimann CR +2 V +2 Easy +5 −3 updated 06/03/13, 20:49

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Files 2