summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-04-20 20:26:43 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-04-20 20:26:43 +0200
commit4d1bb29cc2e2127b42975d17c04027655a5bc915 (patch)
treeb052d4a1f29c420a24590c0a7bbcbe5f34f550b0
parent89e6115bbe2ac3965184fc9f347b0cf2f8c4ba8c (diff)
IRIS: Fix duplicate departure wings. (copy-pasty mistake)
-rw-r--r--lib/Travel/Status/DE/IRIS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm
index bd2a784..42f7693 100644
--- a/lib/Travel/Status/DE/IRIS.pm
+++ b/lib/Travel/Status/DE/IRIS.pm
@@ -325,7 +325,7 @@ sub create_wing_refs {
for my $wing_id ( @{ $r->{arrival_wing_ids} } ) {
my $wingref = $self->get_result_by_id($wing_id);
if ($wingref) {
- $r->add_departure_wingref($wingref);
+ $r->add_arrival_wingref($wingref);
}
}
}