Skip to content
Snippets Groups Projects
Commit 815e953d authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpPay] Minor Bugfixes. phryk stinkt!

parent f5e298dc
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ def transaction(request, user_id=None): ...@@ -162,7 +162,7 @@ def transaction(request, user_id=None):
def sync_users(): def sync_users():
for ldapuser in LdapUser.objects.all(): for ldapuser in LdapUser.objects.all():
try: try:
u = UserCredit.objects.get(uid=user.uid) u = UserCredit.objects.get(uid=ldapuser.uid)
if ldapuser.card_id: if ldapuser.card_id:
u.card_id = ldapuser.card_id u.card_id = ldapuser.card_id
u.save() u.save()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment