]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/conversationreplies.php
Bad route config (thanks brw12)
[quix0rs-gnu-social.git] / actions / conversationreplies.php
index 55c3efa9e0cb6eb63099b23885d608a816733531..49c806fa98588a00ccf3569a528830806e1c11f8 100644 (file)
@@ -73,9 +73,7 @@ class ConversationRepliesAction extends ConversationAction
 
     function showAjax()
     {
-        header('Content-Type: text/xml;charset=utf-8');
-        $this->xw->startDocument('1.0', 'UTF-8');
-        $this->elementStart('html');
+        $this->startHTML('text/xml;charset=utf-8');
         $this->elementStart('head');
         // TRANS: Title for conversation page.
         $this->element('title', null, _m('TITLE','Notice'));
@@ -83,6 +81,6 @@ class ConversationRepliesAction extends ConversationAction
         $this->elementStart('body');
         $this->showContent();
         $this->elementEnd('body');
-        $this->elementEnd('html');
+        $this->endHTML();
     }
 }