Commit 413ccf8f authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update wizards/affiliation_publication to fix a bug

parent ff0c9981
......@@ -130,7 +130,7 @@ def affiliation_publication():
# load new rules
key = dict(key_u=affiliation, key_v="")
if get_id(db.affiliation_keys, **key) is None:
db.affiliation_keys[0] = key
db.affiliation_keys.insert(**key)
else:
raise HTTP(500, T(MSG_EXISTING_KEY))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment