Fixed ajaxErrorMsg(). Using startHTML() instead of common_start_html()

This commit is contained in:
Sarven Capadisli 2009-02-03 21:46:09 +00:00
parent aafb73755e
commit 32b1bb381a

View 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');