Skip to content

Commit

Permalink
Fix missing postal code error
Browse files Browse the repository at this point in the history
  • Loading branch information
stickster committed Oct 7, 2015
1 parent 11194a0 commit adb3fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zkpylons/controllers/person.py
Expand Up @@ -459,7 +459,7 @@ def new(self):
if Config.get('personal_info', category='rego')['home_address'] == 'no':
defaults['person.address1'] = 'not available'
defaults['person.city'] = 'not available'
defaults['person.postcode'] = 'not available'
defaults['person.postcode'] = 'none'

c.social_networks = SocialNetwork.find_all()

Expand Down
2 changes: 1 addition & 1 deletion zkpylons/controllers/registration.py
Expand Up @@ -329,7 +329,7 @@ def new(self):
if Config.get('personal_info', category='rego')['home_address'] == 'no':
defaults['person.address1'] = 'not available'
defaults['person.city'] = 'not available'
defaults['person.postcode'] = 'not available'
defaults['person.postcode'] = 'none'

if c.signed_in_person:
for k in ['address1', 'address2', 'city', 'state', 'postcode', 'country', 'phone', 'mobile', 'company', 'i_agree']:
Expand Down

0 comments on commit adb3fc5

Please sign in to comment.