diff --git a/htdocs/opensurvey/card.php b/htdocs/opensurvey/card.php index bb7d46959f6..c4a49eb2deb 100644 --- a/htdocs/opensurvey/card.php +++ b/htdocs/opensurvey/card.php @@ -347,7 +347,7 @@ $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domai //$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current $url = $urlwithroot.'/public/opensurvey/studs.php?sondage='.$object->id_sondage; -print ''; +print ''; //if ($action != 'edit') { print ajax_autoselect("opensurveyurl", $url, 'image'); //} diff --git a/htdocs/opensurvey/results.php b/htdocs/opensurvey/results.php index e01802add06..72ee8213f35 100644 --- a/htdocs/opensurvey/results.php +++ b/htdocs/opensurvey/results.php @@ -556,7 +556,7 @@ $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domai //$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current $url = $urlwithouturlroot.dol_buildpath('/public/opensurvey/studs.php', 1).'?sondage='.$object->id_sondage; -$urllink = ''; +$urllink = ''; print $urllink; if ($action != 'edit') { print ajax_autoselect("opensurveyurl", $url, 'image');