Correct typo in previous commit.
authorstevetruckstuff <stevetruckstuff@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Aug 2006 14:44:51 +0000 (14:44 +0000)
committerstevetruckstuff <stevetruckstuff@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Aug 2006 14:44:51 +0000 (14:44 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11663 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/error.class.php

index c741307effadc9887c7c187feb584ef8e6139305..df401de682311a46e07cec61197365dcf49c02d1 100644 (file)
@@ -219,7 +219,7 @@ class ErrorHandler {
 
         // Show the error immediate in case of fatal errors
         if ($iType == SQM_ERROR) {
-            if (!$this->header_sent || (isset($this->Template->values['header_sent']) && !$this->Template->values['header_sent'])) {
+            if (isset($this->Template->values['header_sent']) && !$this->Template->values['header_sent']) {
                 // TODO replace this with template that can be assigned
                 displayHtmlHeader(_("Error"),'',false);
             }