Unverified Commit 0a994156 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Stationboard: Fix uninitialize value warning

parent 96f17f47
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1134,7 +1134,10 @@ sub train_details {
	}

	my $service = 'DB';
	if ( $hafas ne '1' and Travel::Status::DE::HAFAS::get_service($hafas) ) {
	if (    $hafas
		and $hafas ne '1'
		and Travel::Status::DE::HAFAS::get_service($hafas) )
	{
		$opt{service} = $hafas;
	}