Browse Source

Update to only include current members in groups

master
Rick 5 years ago
parent
commit
f19ce23d03
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      admidio.py

+ 2
- 1
admidio.py View File

@ -58,7 +58,8 @@ class Admidio:
sql = f"""SELECT rol_id, rol_name, rol_description
FROM {self.prefix}_roles
WHERE rol_valid = 1
AND rol_cat_id != {self.event_confirmation_id}"""
AND rol_cat_id != {self.event_confirmation_id}
AND mem_end = 9999-12-31"""
self.cursor.execute(sql)
for row in self.cursor.fetchall():


Loading…
Cancel
Save