Unverified Commit 5f3ba232 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Real numbers? In this economy?!?

Closes #388
parent 5171e23f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -147,8 +147,8 @@ sub geolocation {
	if (
		not(    defined $lon
			and defined $lat
			and $lon =~ m{^ \d+ [.]? \d* $}x
			and $lat =~ m{^ \d+ [.]? \d* $}x )
			and $lon =~ m{^ -? \d+ [.e]? \d* $}x
			and $lat =~ m{^ -? \d+ [.e]? \d* $}x )
	  )
	{
		$self->render(