summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 2eb7b12..85a94e5 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -775,7 +775,7 @@ sub render_train {
if ( $self->param('detailed') ) {
my $cycle_req = Mojo::Promise->new;
push( @requests, $cycle_req );
- $self->wagonorder->has_umlauf_p( $result->train_no )->then(
+ $self->wagonorder->has_cycle_p( $result->train_no )->then(
sub {
$departure->{has_cycle} = 1;
}