* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-class ProfileAddress extends ProfileGeoloc
+class ProfileAddress extends ProfileGeocoding
{
private $bool;
private $pub;
if (!trim($address['text'])) {
unset($value[$key]);
} elseif (!$init) {
- $this->geolocAddress($address, $s);
+ $this->geocodeAddress($address, $s);
$success = $success && $s;
}
$this->cleanAddress($page, $key, $address);
VALUES ({?}, 'home', {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?},
{?}, {?}, FROM_UNIXTIME({?}), {?}, {?}, {?}, {?}, {?}, {?})",
S::i('uid'), $addrid, $flags, $address['accuracy'],
- $address['text'], 'postalText'/*$address['postalText']*/, $address['postalCode'], $address['localityId'],
+ $address['text'], $address['postalText'], $address['postalCode'], $address['localityId'],
$address['subAdministrativeAreaId'], $address['administrativeAreaId'],
$address['countryId'], $address['latitude'], $address['longitude'],
$address['updateTime'], $address['pub'], $address['comment'],