DBDB: handle undef train_types
This commit is contained in:
parent
97b0b4bd93
commit
521ed1eb87
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue