Commit 16a0ffd5 authored by Praibait's avatar Praibait

Erreur de typo sur le droit activites_admin

parent 3caaf512
......@@ -3236,7 +3236,7 @@ def openclose_activite(self, data):
return
ouvrir, idact = data
action = u"ouverte" if ouvrir else u"fermée"
if self._has_acl("activite_admin"):
if self._has_acl("activites_admin"):
con, cur = BaseFonctions.getcursor()
cur.execute("SELECT liste FROM activites WHERE id={};".format(idact))
if cur.fetchone()[0] or not ouvrir:
......
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