Add test to return false on is geocoded if coords are 0 0
This commit is contained in:
1 parent
214fcc2bac
commit
d8ecb41ac3
2 files changed
+10
-3
No files matched your search
@@ -45,7 +45,7 @@ trait GeocodeTrait
|
||||
|
||||
public function isGeocoded(): bool
|
||||
{
|
||||
return null !== $this->getLatitude() && null !== $this->getLongitude();
|
||||
return null !== $this->getLatitude() && null !== $this->getLongitude() && (0.0 !== $this->getLatitude() && 0.0 !== $this->getLongitude());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user