diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-04-29 23:24:48 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-04-29 23:24:48 +0200 |
commit | 3e2a32a722ba68a248a8edbcdf0e9334532e6c42 (patch) | |
tree | 424a8a41974b3a03a9e8b16821e97fce01c36b5f /lib | |
parent | 7fdc8d20ca694307df44f38ac9ac02510188fab0 (diff) |
Result: JSON: Return the cleaned up hash, not the original...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Status/DE/IRIS/Result.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index daeb4b6..372e47c 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -732,7 +732,7 @@ sub TO_JSON { delete $copy{replaced_by}; delete $copy{replacement_for}; - return { %{$self} }; + return { %copy }; } 1; |