Changeset - 2a0de444c063
[Not reviewed]
default
0 1 0
Dennis Fink - 6 years ago 2018-12-26 19:30:01
dennis.fink@c3l.lu
Allow to add people_persent via the form
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spaceapi/views.py
Show inline comments
 
@@ -82,7 +82,7 @@ def present():
 
        activev14 = ActiveStatusv14()
 

	
 
        if active['state']['open']:
 
            user = httpauth.username()
 
            user = httpauth.username() if 'user' not in request.form else request.form['user']
 
            if 'present' in request.form:
 
                active.add_user_present(user)
 
                activev14.add_user_present(user)
0 comments (0 inline, 0 general)