diff --git a/htdocs/public/opensurvey/studs.php b/htdocs/public/opensurvey/studs.php index 73245eb75e4..c47fdad16a2 100644 --- a/htdocs/public/opensurvey/studs.php +++ b/htdocs/public/opensurvey/studs.php @@ -342,15 +342,17 @@ print ''; print '
'; if (empty($object->description)) { - print '
'."\n"; + print '
'."\n"; +} else { + print '
'."\n"; } // show title of survey $titre = str_replace("\\", "", $object->title); -print '
'.img_picto('', 'poll', 'class="size15x paddingright"').' '.dol_htmlentities($titre).'
'; +print '
'.img_picto('', 'poll', 'class="size15x paddingright"').' '.dol_htmlentities($titre).'
'; if (!empty($object->description)) { - print '
'."\n"; + print '
'."\n"; } // show description of survey