diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-09-02 12:52:38 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-09-02 12:52:38 +0200 |
commit | 4b796e7a1c808a5cdca8b4363601a47e7f97cbe7 (patch) | |
tree | 5fec3683f574a50eb385d61b19c60e647705cd13 /lib/Travel/Status/DE/IRIS | |
parent | a372ea0e36a7bde124084477a67d27bc063cdd48 (diff) |
Result: store _weakened_ reference in wing_of
Diffstat (limited to 'lib/Travel/Status/DE/IRIS')
-rw-r--r-- | lib/Travel/Status/DE/IRIS/Result.pm | 4 |
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; } |