Fixed bug #6240: pageNotFound_handling returns empty page if specified URL cannot...
authorErnesto Baschny <ernst@cron-it.de>
Fri, 23 Nov 2007 15:22:48 +0000 (15:22 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Fri, 23 Nov 2007 15:22:48 +0000 (15:22 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2756 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index f3cfe80..7836240 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-23  Ernesto Baschny  <ernst@cron-it.de>
+
+       * Fixed bug #6240: pageNotFound_handling returns empty page if specified URL cannot be retrieved. Credit to Helmut Hummel for the fix.
+
 2007-11-23  Oliver Hader  <oh@inpublica.de>
 
        * Fixed bug #5956: TCA eval required on date field does not work
index c89463f..684bb7d 100755 (executable)
                        list($header,$content) = split("\r\n\r\n", $res, 2);
                        $content.= "\r\n";
 
-                       if (false === $content) {
+                       if (false === $res) {
                                        // Last chance -- redirect
                                header('Location: '.t3lib_div::locationHeaderUrl($code));
                        } else {