fixed issue 578, thanks Thomas Dallagnese

This commit is contained in:
mdipierro
2012-08-08 15:19:21 -05:00
parent e4421db04e
commit cd627963e6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-08 15:17:55) dev
Version 2.00.0 (2012-08-08 15:19:18) dev
+2 -2
View File
@@ -1631,8 +1631,8 @@ class Auth(object):
if user:
update_keys = dict(registration_id=keys['registration_id'])
for key in update_fields:
if key in vars:
update_keys[key] = vars[key]
if key in keys:
update_keys[key] = keys[key]
user.update_record(**update_keys)
elif checks:
if not 'first_name' in keys and 'first_name' in table_user.fields: