diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-22 17:13:25 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-22 17:13:25 +0200 |
commit | 38f3d2bcae2dd5ec6f7c09e3ed86868fb0c384ed (patch) | |
tree | 73942603f30b0ad3c86c88b283543cde72034290 /lib/Travel/Status | |
parent | bce11bc1300169cba1f30453e32c3afa77c2baae (diff) |
FEA: Fix "type" check
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r-- | lib/Travel/Status/DE/EFA.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 8774d59..122fcc7 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -149,7 +149,7 @@ sub new { confess('You must specify a name'); } if ( $opt{type} - and not( $opt{type} =~ m{ ^ (?: stop stopID address poi ) $ }x ) ) + and not( $opt{type} =~ m{ ^ (?: stop | stopID | address | poi ) $ }x ) ) { confess('type must be stop, stopID, address, or poi'); } |