summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r--actions/newnotice.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 3c9c499c2..a24925ec3 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -84,7 +84,7 @@ class NewnoticeAction extends Action {
common_broadcast_notice($notice);
if ($this->boolean('ajax')) {
- common_start_html('text/xml;charset=utf-8');
+ common_start_html('text/xml;charset=utf-8', false);
common_element_start('head');
common_element('title', null, _('Notice posted'));
common_element_end('head');
@@ -107,7 +107,7 @@ class NewnoticeAction extends Action {
}
function ajax_error_msg($msg) {
- common_start_html('text/xml;charset=utf-8');
+ common_start_html('text/xml;charset=utf-8', false);
common_element_start('head');
common_element('title', null, _('Ajax Error'));
common_element_end('head');