From 8dd513a8e434bb72f773dac75ec3124d2532d4a3 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Thu, 11 Dec 2008 16:18:14 -0500 Subject: Standardising XHR responses to utf-8 and indenting darcs-hash:20081211211814-efd22-a41a2b123fcd08945370e868431dc1b2feda4dfe.gz --- actions/favor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/favor.php') diff --git a/actions/favor.php b/actions/favor.php index 82b70a35b..aede32902 100644 --- a/actions/favor.php +++ b/actions/favor.php @@ -66,7 +66,7 @@ class FavorAction 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, _('Disfavor favorite')); common_element_end('head'); @@ -91,4 +91,4 @@ class FavorAction extends Action { } } -} \ No newline at end of file +} -- cgit v1.2.3-54-g00ecf