Added comment
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 16 Nov 2006 01:44:35 +0000 (01:44 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 16 Nov 2006 01:44:35 +0000 (01:44 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11958 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/error.class.php

index 3c13df7b99f8163677d8a0e386515d2ca9c69bc3..aabfedef1705ed8a731970ffda28df8698f79b47 100644 (file)
@@ -220,7 +220,14 @@ class ErrorHandler {
         // Show the error immediate in case of fatal errors
         if ($iType == SQM_ERROR) {
             if (isset($this->Template->values['header_sent']) && !$this->Template->values['header_sent']) {
-                // TODO replace this with template that can be assigned
+// TODO replace this with template that can be assigned
+// UPDATE: displayHtmlHeader() no longer sends anything
+//         directly to the browser itself and instead 
+//         displays all output through the template file 
+//         "protocol_header" as well as calls to the 
+//         template's header() method, so perhaps the 
+//         above TODO is alleviated?? (however, I don't fully
+//         understand the problem behind the TODO comment myself (Paul))
                 displayHtmlHeader(_("Error"),'',false);
             }
             $this->DisplayErrors();