Correct fetch of XML options

Legacy bug from Aviary and before(!) fixed here
This commit is contained in:
Chris 2016-09-10 20:48:32 +01:00
parent c00e471128
commit b92f2b013e

View File

@ -363,7 +363,7 @@ sub api_html_response {
sub _xml_api_response { sub _xml_api_response {
my $self = shift; my $self = shift;
my $data = shift; my $data = shift;
my %xmlopts = shift; my %xmlopts = @_;
my $xmldata; my $xmldata;
$xmlopts{"XMLDecl"} = '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>' $xmlopts{"XMLDecl"} = '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'