summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm
index 442dd1a..2a5741f 100644
--- a/lib/Travel/Status/DE/IRIS/Result.pm
+++ b/lib/Travel/Status/DE/IRIS/Result.pm
@@ -476,7 +476,7 @@ sub add_arrival_wingref {
weaken($ref);
weaken($backref);
$ref->{is_wing} = 1;
- $ref->{wing_of} = $self;
+ $ref->{wing_of} = $backref;
push( @{ $self->{arrival_wings} }, $ref );
return $self;
}
@@ -489,7 +489,7 @@ sub add_departure_wingref {
weaken($ref);
weaken($backref);
$ref->{is_wing} = 1;
- $ref->{wing_of} = $self;
+ $ref->{wing_of} = $backref;
push( @{ $self->{departure_wings} }, $ref );
return $self;
}