[TYPO3-core] FYI24 #17066: writeFileToTypo3tempDir should return FALSE on success, but returns NULL

Steffen Gebert steffen at steffen-gebert.de
Sun Jan 16 16:45:15 CET 2011


Hi!

The following changes will be committed in 24h, if nobody objects.

Type: Bugfix/PHPDoc error

Bugtracker reference:
http://bugs.typo3.org/view.php?id=17066

Branches:
trunk, 4-4

Problem:
Please.. countenance.. don't start laughing ;-)

t3lib_div::writeFileToTypo3tempDir() says:
 > @return string Returns false on success, otherwise an
 > error string telling about the problem.
However, it does not even return FALSE, but returns NULL on success. The 
comment is wrong.

Solution:
Change comment from false to NULL

Note:
Every time sth. to chuckle :)

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17066.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110116/9c94f75b/attachment.asc>


More information about the TYPO3-team-core mailing list