diff --git a/htdocs/core/lib/ticket.lib.php b/htdocs/core/lib/ticket.lib.php
index 863131572b9..f2a6194ab06 100644
--- a/htdocs/core/lib/ticket.lib.php
+++ b/htdocs/core/lib/ticket.lib.php
@@ -163,7 +163,7 @@ function showDirectPublicLink($object)
$out .= img_picto('', 'object_globe.png').' '.$langs->trans("TicketPublicAccess").'
';
if ($url) {
$out .= '
';
$out .= ajax_autoselect("directpubliclink", 0);
diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php
index e2409c1fe5c..5faa7b201b7 100644
--- a/htdocs/ticket/card.php
+++ b/htdocs/ticket/card.php
@@ -1461,9 +1461,11 @@ if ($action == 'create' || $action == 'presend') {
$MAXEVENT = 10;
- $morehtmlcenter = dolGetButtonTitle($langs->trans('FullConversation'), '', 'fa fa-comments imgforviewmode', DOL_URL_ROOT.'/ticket/messaging.php?id='.$object->id);
+ $morehtmlcenter = '';
+ $morehtmlcenter .= dolGetButtonTitle($langs->trans('FullConversation'), '', 'fa fa-comments imgforviewmode', DOL_URL_ROOT.'/ticket/messaging.php?id='.$object->id);
$morehtmlcenter .= ' ';
$morehtmlcenter .= dolGetButtonTitle($langs->trans('FullList'), '', 'fa fa-list-alt imgforviewmode', DOL_URL_ROOT.'/ticket/agenda.php?id='.$object->id);
+ $morehtmlcenter .= '
';
// List of actions on element
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';