aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb/index.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi
index c86ac6ad1..eb7ae7f37 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -845,7 +845,7 @@ sub display_location {
return front_page( $q, @errors )
unless ( $x && $y )
|| $input{pc}
- || ( defined $latitude && defined $longitude );
+ || ( $latitude ne '' && $longitude ne '' );
if ( $x && $y ) {