Skip to content

Commit

Permalink
and another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ambs committed Sep 8, 2011
1 parent 82b4e5f commit df44661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Dancer/Serializer/XML.pm
Expand Up @@ -59,7 +59,7 @@ sub serialize {

sub deserialize {
my $self = shift;

my $xml = shift;
my %options = ();

my $s;
Expand All @@ -68,7 +68,7 @@ sub deserialize {
}

%options = (%options, @_);
$_xs->XMLin(%options);
$_xs->XMLin($xml, %options);
}

sub content_type {'text/xml'}
Expand Down

0 comments on commit df44661

Please sign in to comment.