Issue Bug Closed

#14438t3lib_div::getURL() do not always return something

old_zas 12/06/04, 15:32 updated 08/12/06, 14:21

Description

In t3lib/class.t3lib_div.php at line 2002, fopen() may fail.
In that case nothing is returned.
IMHO, return $content in if and elseif branch should be dropped and move just before end of function, so it will return an empty string when nothing was read (due to ie. failure of fopen()).

(issue imported from #M581)

Reviews 0

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