From: stevetruckstuff Date: Thu, 31 Aug 2006 14:44:51 +0000 (+0000) Subject: Correct typo in previous commit. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=20d30fc8a65cc8dc2f4f2c5837808cda030da0e5 Correct typo in previous commit. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11663 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/class/error.class.php b/class/error.class.php index c741307e..df401de6 100644 --- a/class/error.class.php +++ b/class/error.class.php @@ -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); }