]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Setting nudge XHR response to utf-8 and indenting
authorSarven Capadisli <csarven@controlyourself.ca>
Thu, 11 Dec 2008 21:20:46 +0000 (16:20 -0500)
committerSarven Capadisli <csarven@controlyourself.ca>
Thu, 11 Dec 2008 21:20:46 +0000 (16:20 -0500)
darcs-hash:20081211212046-efd22-5face1c2bfaf0dd43dc7ffcc4eec639fdb4b5fe5.gz

actions/nudge.php

index f14cdc83c93d1df55af92c20acc3c8f7ca726796..677f58800517244a6ae5a507517cccd34667630c 100644 (file)
@@ -56,7 +56,7 @@ class NudgeAction extends Action {
                $this->notify($user, $other);
 
                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, _('Nudge sent'));
                        common_element_end('head');