summaryrefslogtreecommitdiff
path: root/actions/disfavor.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2008-12-11 16:18:14 -0500
committerSarven Capadisli <csarven@controlyourself.ca>2008-12-11 16:18:14 -0500
commit8dd513a8e434bb72f773dac75ec3124d2532d4a3 (patch)
tree2327216cddbb60d62b381aa45c400caf4ec4b317 /actions/disfavor.php
parent8664278d71c89e01acc2929fd997348fc42cf2c8 (diff)
Standardising XHR responses to utf-8 and indenting
darcs-hash:20081211211814-efd22-a41a2b123fcd08945370e868431dc1b2feda4dfe.gz
Diffstat (limited to 'actions/disfavor.php')
-rw-r--r--actions/disfavor.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/disfavor.php b/actions/disfavor.php
index 6ac94d720..be208f65a 100644
--- a/actions/disfavor.php
+++ b/actions/disfavor.php
@@ -67,7 +67,7 @@ class DisfavorAction extends Action {
$user->blowFavesCache();
if ($this->boolean('ajax')) {
- common_start_html('text/xml');
+ common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Add to favorites'));
common_element_end('head');
@@ -80,4 +80,4 @@ class DisfavorAction extends Action {
array('nickname' => $user->nickname)));
}
}
-} \ No newline at end of file
+}