summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-02-03 21:46:09 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-02-03 21:46:09 +0000
commit32b1bb381acd14ec6a0d98afc5c39247b1d5a027 (patch)
treedf0ef213625ae20fdb3560215ba5ac70117b3ad6
parentaafb73755e7fbeb1b0e4198ce727c3ee1c8a5c94 (diff)
Fixed ajaxErrorMsg(). Using startHTML() instead of common_start_html()
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 5142cb5ff..e3974cd07 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -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');