fix: POST suppr. photo

This commit is contained in:
Emmanuel Viennet 2021-09-24 11:12:49 +02:00
parent 6d1ffb122b
commit 373feece76
3 changed files with 2 additions and 5 deletions

View File

@ -86,7 +86,6 @@ def doSignaleAbsence(
jour, jour,
False, False,
estjust, estjust,
REQUEST,
description_abs, description_abs,
moduleimpl_id, moduleimpl_id,
) )
@ -95,7 +94,6 @@ def doSignaleAbsence(
jour, jour,
True, True,
estjust, estjust,
REQUEST,
description_abs, description_abs,
moduleimpl_id, moduleimpl_id,
) )
@ -106,7 +104,6 @@ def doSignaleAbsence(
jour, jour,
demijournee, demijournee,
estjust, estjust,
REQUEST,
description_abs, description_abs,
moduleimpl_id, moduleimpl_id,
) )

View File

@ -851,7 +851,7 @@ def formChangePhoto(etudid=None, REQUEST=None):
return "\n".join(H) + html_sco_header.sco_footer() return "\n".join(H) + html_sco_header.sco_footer()
@bp.route("/formSuppressPhoto") @bp.route("/formSuppressPhoto", methods=["POST", "GET"])
@scodoc @scodoc
@permission_required(Permission.ScoEtudChangeAdr) @permission_required(Permission.ScoEtudChangeAdr)
@scodoc7func @scodoc7func

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.0.35" SCOVERSION = "9.0.36"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"