Explorar o código

Correct typo in previous commit.

stevetruckstuff %!s(int64=19) %!d(string=hai) anos
pai
achega
bac4cf6314
Modificáronse 1 ficheiros con 1 adicións e 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);
             }