]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Accidentally caused the DOCTYPE to never be rendered - fix that.
authorCraig Andrews <candrews@integralblue.com>
Wed, 5 Aug 2009 23:24:34 +0000 (19:24 -0400)
committerCraig Andrews <candrews@integralblue.com>
Wed, 5 Aug 2009 23:24:34 +0000 (19:24 -0400)
lib/htmloutputter.php

index 8f3b1a609c11ab1a8c777afea6c83db51083cd76..5da1fbe148338d25d954a8298d6c4182aaf4c447 100644 (file)
@@ -113,9 +113,7 @@ class HTMLOutputter extends XMLOutputter
             // Browsers don't like it when <?xml it output for non-xhtml documents
             $this->xw->startDocument('1.0', 'UTF-8');
         }
-        if ($doc) {
-            $this->xw->writeDTD('html', $public, $system);
-        }
+        $this->xw->writeDTD('html', $public, $system);
 
         $language = $this->getLanguage();