From 4d1bb29cc2e2127b42975d17c04027655a5bc915 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 20 Apr 2015 20:26:43 +0200 Subject: IRIS: Fix duplicate departure wings. (copy-pasty mistake) --- lib/Travel/Status/DE/IRIS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel') 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); } } } -- cgit v1.2.3