Skip to content

Commit

Permalink
Merge pull request #286 from evarisk-micka/fix_status
Browse files Browse the repository at this point in the history
#173 [Address] fix: update status
  • Loading branch information
evarisk-micka authored Aug 22, 2024
2 parents 13e2fdf + c497625 commit 55a8624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/address_card.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@

$geolocation->latitude = $address->lat;
$geolocation->longitude = $address->lon;
$geolocation->status = Geolocation::STATUS_GEOLOCATED;
if (empty($geolocation->id)) {
$geolocation->status = Geolocation::STATUS_GEOLOCATED;
$geolocation->element_type = 'contact';
$geolocation->gis = 'osm';
$geolocation->fk_element = $contactID;
Expand Down

0 comments on commit 55a8624

Please sign in to comment.