[TASK] Always return a boolean in t3lib_div::validPathStr
authorAndy Grunwald <andygrunwald@gmail.com>
Tue, 3 Jul 2012 17:49:50 +0000 (19:49 +0200)
committerGeorg Ringer <mail@ringerge.org>
Tue, 3 Jul 2012 20:25:23 +0000 (22:25 +0200)
commit23cee13609c8011f81429468fda485d94a8517b8
tree9d2eab4dcbca8a0edc061fe254858f84fa9f29b1
parent8bc362ba72ab68cbc6d7681ee6840bff1d25f59b
[TASK] Always return a boolean in t3lib_div::validPathStr

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.

Change-Id: Ie1de33df3520cb0560d9f2c1a4bdd629bc897c6c
Fixes: #38604
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12549
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
t3lib/class.t3lib_div.php