diff --git a/application/libraries/Googlemaps.php b/application/libraries/Googlemaps.php index 5f549f8..374258e 100644 --- a/application/libraries/Googlemaps.php +++ b/application/libraries/Googlemaps.php @@ -152,7 +152,7 @@ class Googlemaps { var $placesAutocompleteBoundsMap= FALSE; // An alternative to setting the SW and NE bounds is to use the bounds of the current viewport. If set to TRUE, the bounds will be set to the viewport of the visible map, even if dragged or zoomed var $placesAutocompleteOnChange = ''; // The JavaScript action to perform when a place is selected - function Googlemaps($config = array()) + function __construct($config = array()) { if (count($config) > 0) { @@ -2260,4 +2260,4 @@ function get_lat_long_from_address($address, $attempts = 0) } -?> \ No newline at end of file +?>