diff --git a/app/scodoc/sco_page_etud.py b/app/scodoc/sco_page_etud.py
index 6a59538cc..bf9481234 100644
--- a/app/scodoc/sco_page_etud.py
+++ b/app/scodoc/sco_page_etud.py
@@ -537,7 +537,7 @@ def etud_info_html(etudid, with_photo="1", REQUEST=None, debug=False):
     """An HTML div with basic information and links about this etud.
     Used for popups information windows.
     """
-    formsemestre_id = int(sco_formsemestre_status.retreive_formsemestre_from_request())
+    formsemestre_id = sco_formsemestre_status.retreive_formsemestre_from_request()
     with_photo = int(with_photo)
     etud = sco_etud.get_etud_info(filled=True)[0]
     photo_html = sco_photos.etud_photo_html(