summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r--lib/Travelynx/Helper/DBDB.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx/Helper/DBDB.pm b/lib/Travelynx/Helper/DBDB.pm
index 82cdc72..10b9136 100644
--- a/lib/Travelynx/Helper/DBDB.pm
+++ b/lib/Travelynx/Helper/DBDB.pm
@@ -29,6 +29,7 @@ sub new {
sub has_wagonorder_p {
my ( $self, %opt ) = @_;
+ $opt{train_type} //= q{};
my $datetime = $opt{datetime}->clone->set_time_zone('UTC');
my %param = (
administrationId => 80,