aboutsummaryrefslogtreecommitdiff
path: root/www/ajaxVote.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/ajaxVote.php')
-rw-r--r--www/ajaxVote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/ajaxVote.php b/www/ajaxVote.php
index 3e603da..f2572fb 100644
--- a/www/ajaxVote.php
+++ b/www/ajaxVote.php
@@ -2,6 +2,7 @@
/**
* We re-use vote.php but set the ajax flag
*/
+$httpContentType = 'text/xml';
$GLOBALS['ajaxRequest'] = true;
require 'vote.php';
@@ -17,7 +18,6 @@ default:
$template = 'bookmarks-vote.inc.tpl.php';
}
-header('Content-Type: text/xml; charset=utf-8');
echo '<voteresult><bookmark>' . $bookmark . '</bookmark>'
. '<html xmlns="http://www.w3.org/1999/xhtml">';
$ts->loadTemplate(