diff options
Diffstat (limited to 'lib/Travel/Status/DE/DBWagenreihung/Section.pm')
-rw-r--r-- | lib/Travel/Status/DE/DBWagenreihung/Section.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Section.pm b/lib/Travel/Status/DE/DBWagenreihung/Section.pm index 780031c..1c3bdf8 100644 --- a/lib/Travel/Status/DE/DBWagenreihung/Section.pm +++ b/lib/Travel/Status/DE/DBWagenreihung/Section.pm @@ -17,7 +17,7 @@ sub new { my ( $obj, %opt ) = @_; my $ref = \%opt; - $ref->{length_meters} = $ref->{end_meters} - $ref->{start_meters}; + $ref->{length_meters} = $ref->{end_meters} - $ref->{start_meters}; $ref->{length_percent} = $ref->{end_percent} - $ref->{start_percent}; return bless( $ref, $obj ); |