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

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

index caf6238..9608582 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 8bcafb8..2b54d13 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 {