Commit bcbba5f5 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Fix uninitialized value warning

parent 197cb644
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ sub handle_request {
	$self->stash( title      => 'db-infoscreen' );
	$self->stash( version    => $VERSION );

	if ( $station =~ s{ [.] txt $ }{}x ) {
	if ( defined $station and $station =~ s{ [.] txt $ }{}x ) {
		$template = 'text';
		$self->param( station => $station );
		$self->stash( layout => 'text' );