From: Craig Andrews Date: Wed, 5 Aug 2009 23:24:34 +0000 (-0400) Subject: Accidentally caused the DOCTYPE to never be rendered - fix that. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=feac024348e0584c84fd5392c503d912000d30bc;p=quix0rs-gnu-social.git Accidentally caused the DOCTYPE to never be rendered - fix that. --- diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index 8f3b1a609c..5da1fbe148 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -113,9 +113,7 @@ class HTMLOutputter extends XMLOutputter // Browsers don't like it when xw->startDocument('1.0', 'UTF-8'); } - if ($doc) { - $this->xw->writeDTD('html', $public, $system); - } + $this->xw->writeDTD('html', $public, $system); $language = $this->getLanguage();