diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-11-09 18:08:05 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-11-09 18:08:05 +0000 |
commit | c0e4463163d4a9b9a8be073964ef960b114c9ea0 (patch) | |
tree | 8724404283e105fb04b857210825ec78cad1e7cb /perllib/Open311.pm | |
parent | 55fd02987a0816d9d1c8a76b67fa2d44f8d57264 (diff) |
Some fixes for when warnings are on during test run.
Diffstat (limited to 'perllib/Open311.pm')
-rw-r--r-- | perllib/Open311.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311.pm b/perllib/Open311.pm index ef430d628..603eae777 100644 --- a/perllib/Open311.pm +++ b/perllib/Open311.pm @@ -419,7 +419,7 @@ sub _get_xml_object { my $obj; eval { - $obj = $simple ->XMLin( $xml ); + $obj = $simple ->parse_string( $xml ); }; return $obj; |