]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed ajaxErrorMsg(). Using startHTML() instead of common_start_html()
authorSarven Capadisli <csarven@controlyourself.ca>
Tue, 3 Feb 2009 21:46:09 +0000 (21:46 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Tue, 3 Feb 2009 21:46:09 +0000 (21:46 +0000)
actions/newnotice.php

index 5142cb5ff2894b3ac9f6e961519f9531ec8651d4..e3974cd07dc1cde9092e25d939ec1b1838d1aa12 100644 (file)
@@ -195,7 +195,7 @@ class NewnoticeAction extends Action
 
     function ajaxErrorMsg($msg)
     {
-        common_start_html('text/xml;charset=utf-8', true);
+        $this->startHTML('text/xml;charset=utf-8', true);
         $this->elementStart('head');
         $this->element('title', null, _('Ajax Error'));
         $this->elementEnd('head');