Fixed create of new users.

This commit is contained in:
Martin Edenhofer 2012-05-02 02:26:41 +02:00
parent 98458633a1
commit 5b1e46715a

View file

@ -225,6 +225,12 @@ Your #{config.product_name} Team
private private
def check_geo def check_geo
# geo update if no user exists
if !self.id
self.geo_update
return
end
location = ['street', 'zip', 'city', 'country'] location = ['street', 'zip', 'city', 'country']
# check if geo update is needed # check if geo update is needed