Unverified Commit 77ac1e6a authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

do not pass HAFAS flag to geostop; it's not used there anyways

parent 0e9a9d99
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1787,7 +1787,6 @@ sub stations_by_coordinates {

	my $lon = $self->param('lon');
	my $lat = $self->param('lat');
	my $hafas = $self->param('hafas');

	if ( not $lon or not $lat ) {
		$self->render( json => { error => 'Invalid lon/lat received' } );
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ Bitte eine Station aus der Liste auswählen</div>
  </div>
  % if (stash('input')) {
    <div class="geolink">
      <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https')->query({hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a>
      <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Stationen in der Umgebung suchen</a>
    </div>
  % }
  <div class="break"></div>