diff --git a/studs.php b/studs.php
index 0bfcf0d2da49495e241737e63694f9ea644ef31f..90ca8d5927f720fb930269abbc28bedce08362c2 100644
--- a/studs.php
+++ b/studs.php
@@ -243,7 +243,7 @@ echo '<H2>'.stripslashes($titre).'</H2>'."\n";
 
 //affichage du nom de l'auteur du sondage
 echo _("Initiator of the poll") .' : '.stripslashes($dsondage->nom_admin).'<br>'."\n";
-echo 'Adresse : <code>http://'. $_SERVER['SERVER_NAME']."/".$_SESSION['numsondage'].'</code><br>'."\n";;
+echo 'Adresse : <code>'.getUrlSondage($dsondage->id_sondage).'</code><br>'."\n";;
 
 
 //affichage des commentaires du sondage