From 8f05ffe46318d1dbe1f004d8f3bc7ef4a9d539f2 Mon Sep 17 00:00:00 2001
From: Simon Leblanc <contact@leblanc-simon.eu>
Date: Mon, 27 Jun 2011 00:37:17 +0200
Subject: [PATCH] =?UTF-8?q?Correction=20dans=20l'URL=20affich=C3=A9e=20(pr?=
 =?UTF-8?q?obl=C3=A8me=20lorsque=20OpenSondage=20n'est=20pas=20=C3=A0=20la?=
 =?UTF-8?q?=20racine=20du=20site?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 studs.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/studs.php b/studs.php
index 0bfcf0d2..90ca8d59 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
-- 
GitLab