summaryrefslogtreecommitdiff
path: root/modules/blogapi.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-10-25 03:43:57 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-10-25 03:43:57 +0000
commit0cac6939b770e4685f368bd87beb5fd01120218b (patch)
tree2f3a6d306d0da719371e6352b7ac4043028e7486 /modules/blogapi.module
parentcc9a372eaeef787c10565d2d4c3ece75623f518c (diff)
downloadbrdo-0cac6939b770e4685f368bd87beb5fd01120218b.tar.gz
brdo-0cac6939b770e4685f368bd87beb5fd01120218b.tar.bz2
- Fix usage of header() to drupal_set_header()
- Emit charset for blogapi RSD
Diffstat (limited to 'modules/blogapi.module')
-rw-r--r--modules/blogapi.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module
index 9aad83b73..f1330f436 100644
--- a/modules/blogapi.module
+++ b/modules/blogapi.module
@@ -600,7 +600,7 @@ function blogapi_rsd() {
$base = url('', NULL, NULL, TRUE);
$blogid = 1; # until we figure out how to handle multiple bloggers
- header('Content-Type: application/rsd+xml');
+ drupal_set_header('Content-Type: application/rsd+xml; charset=utf-8');
print <<<__RSD__
<?xml version="1.0"?>
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">