Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
PWK-689 fix latitude warning in culturefeed_agenda_get_locations_by_l…
Browse files Browse the repository at this point in the history
…ist_search()
  • Loading branch information
stijnswaanen committed Sep 27, 2018
1 parent d654680 commit bd6976c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions culturefeed_agenda/includes/helpers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,9 @@ function culturefeed_agenda_get_locations_by_list_search() {
continue;
}

$latitude = '';
$longitude = '';

if ($address->getGeoInformation()) {
$longitude = $address->getGeoInformation()->getXCoordinate();
$latitude = $address->getGeoInformation()->getYCoordinate();
Expand Down

0 comments on commit bd6976c

Please sign in to comment.