summaryrefslogtreecommitdiff
path: root/actions/apiaccountverifycredentials.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-06-18 09:59:11 -0700
committerBrion Vibber <brion@pobox.com>2010-06-18 09:59:11 -0700
commit9d890e2be07364487cb3b333b49650b820dd7176 (patch)
tree461f8c356bddd64b6af35315bd3256e9926a39d9 /actions/apiaccountverifycredentials.php
parent105c1a22d6513d9a5cb33d6134a6d60d423ee462 (diff)
Catch a couple of missing XML namespace declarations on API XML output. Missing NS declarations were breaking XML parsing for some clients since beaecb18d5b92b913473dfffd545dc436f50cf66
Diffstat (limited to 'actions/apiaccountverifycredentials.php')
-rw-r--r--actions/apiaccountverifycredentials.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apiaccountverifycredentials.php b/actions/apiaccountverifycredentials.php
index ea61a3205..79416e9b2 100644
--- a/actions/apiaccountverifycredentials.php
+++ b/actions/apiaccountverifycredentials.php
@@ -75,7 +75,7 @@ class ApiAccountVerifyCredentialsAction extends ApiAuthAction
if ($this->format == 'xml') {
$this->initDocument('xml');
- $this->showTwitterXmlUser($twitter_user);
+ $this->showTwitterXmlUser($twitter_user, 'user', true);
$this->endDocument('xml');
} elseif ($this->format == 'json') {
$this->initDocument('json');