Fehlerkorrektur
This commit is contained in:
parent
9930782819
commit
23c29356db
@ -711,12 +711,14 @@ def useradmin_user_new():
|
|||||||
new_user_id = cur.fetchone()[0]
|
new_user_id = cur.fetchone()[0]
|
||||||
|
|
||||||
if selected_groups:
|
if selected_groups:
|
||||||
|
selected_group_ids = [int(gid) for gid in selected_groups]
|
||||||
|
|
||||||
cur.execute("""
|
cur.execute("""
|
||||||
SELECT id
|
SELECT id
|
||||||
FROM app_group
|
FROM app_group
|
||||||
WHERE mandant_id = %s
|
WHERE mandant_id = %s
|
||||||
AND id = ANY(%s)
|
AND id = ANY(%s)
|
||||||
""", (current_mandant_id, selected_groups))
|
""", (current_mandant_id, selected_group_ids))
|
||||||
valid_groups = cur.fetchall()
|
valid_groups = cur.fetchall()
|
||||||
|
|
||||||
for row in valid_groups:
|
for row in valid_groups:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user