summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-04-29 23:24:48 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-04-29 23:24:48 +0200
commit3e2a32a722ba68a248a8edbcdf0e9334532e6c42 (patch)
tree424a8a41974b3a03a9e8b16821e97fce01c36b5f /lib/Travel/Status/DE
parent7fdc8d20ca694307df44f38ac9ac02510188fab0 (diff)
Result: JSON: Return the cleaned up hash, not the original...
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm2
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;