summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r--lib/Travel/Status/DE/HAFAS/Services.pm.PL3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Services.pm.PL b/lib/Travel/Status/DE/HAFAS/Services.pm.PL
index 3ceee61..f1bb2df 100644
--- a/lib/Travel/Status/DE/HAFAS/Services.pm.PL
+++ b/lib/Travel/Status/DE/HAFAS/Services.pm.PL
@@ -68,6 +68,9 @@ sub load_instance {
if ( $data->{options}{ver} ) {
$ret{request}{ver} = $data->{options}{ver};
}
+ elsif ( $data->{options}{version} ) {
+ $ret{request}{ver} = $data->{options}{version};
+ }
if ( $opt{lang} ) {
$ret{request}{lang} = $opt{lang};