Explorar el Código

Correct typo in previous commit.

stevetruckstuff hace 19 años
padre
commit
bac4cf6314
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      class/error.class.php

+ 1 - 1
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);
             }