diff --git a/app/scodoc/sco_abs.py b/app/scodoc/sco_abs.py index 567a1c403..323a1e1d8 100644 --- a/app/scodoc/sco_abs.py +++ b/app/scodoc/sco_abs.py @@ -955,7 +955,7 @@ def MonthTableBody( % (bgcolor, weekclass, attrs, d, day) ) cc = [] - for morning in (1, 0): + for morning in (True, False): color = None legend = "" href = "" diff --git a/app/scodoc/sco_abs_views.py b/app/scodoc/sco_abs_views.py index aa36e3fc4..9088a0efe 100644 --- a/app/scodoc/sco_abs_views.py +++ b/app/scodoc/sco_abs_views.py @@ -74,7 +74,8 @@ def doSignaleAbsence( """ etud = sco_etud.get_etud_info(filled=1, etudid=etudid, REQUEST=REQUEST)[0] etudid = etud["etudid"] - + if not moduleimpl_id: + moduleimpl_id = None description_abs = description dates = sco_abs.DateRangeISO(context, datedebut, datefin) nbadded = 0 @@ -186,7 +187,7 @@ def SignaleAbsenceEtud(context, REQUEST=None): # etudid implied menu_module = """