diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php
index 91c4003ec92..9499f0b0f22 100644
--- a/htdocs/admin/sms.php
+++ b/htdocs/admin/sms.php
@@ -52,7 +52,7 @@ if ($action == 'update' && !$cancel)
{
dolibarr_set_const($db, "MAIN_DISABLE_ALL_SMS", GETPOST("MAIN_DISABLE_ALL_SMS", 'alphanohtml'), 'chaine', 0, '', $conf->entity);
- dolibarr_set_const($db, "MAIN_SMS_SENDMODE", GETPOST("MAIN_SMS_SENDMODE", 'alphahtml'), 'chaine', 0, '', $conf->entity);
+ dolibarr_set_const($db, "MAIN_SMS_SENDMODE", GETPOST("MAIN_SMS_SENDMODE", 'alphanohtml'), 'chaine', 0, '', $conf->entity);
dolibarr_set_const($db, "MAIN_MAIL_SMS_FROM", GETPOST("MAIN_MAIL_SMS_FROM", 'alphanohtml'), 'chaine', 0, '', $conf->entity);
diff --git a/htdocs/bookmarks/card.php b/htdocs/bookmarks/card.php
index bd6d1fc2cf3..b6552dbd89c 100644
--- a/htdocs/bookmarks/card.php
+++ b/htdocs/bookmarks/card.php
@@ -251,7 +251,7 @@ if ($id > 0 && !preg_match('/^add/i', $action))
print '';
}
print '
';
- if ($action == 'edit') print 'url).'">';
+ if ($action == 'edit') print 'url).'">';
else print 'target ? ' target="_blank"' : '').'>'.$object->url.'';
print ' | ';
diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php
index 7904bd321ae..f703ccd4b65 100644
--- a/htdocs/contrat/card.php
+++ b/htdocs/contrat/card.php
@@ -1897,7 +1897,7 @@ if ($action == 'create')
print '';
print '';
- print '| '.$langs->trans("Comment").' | | ';
+ print ''.$langs->trans("Comment").' | | ';
print '';
print ' ';
print '';
diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php
index 8be1c3d2833..0e73cae48e0 100644
--- a/htdocs/core/class/html.formticket.class.php
+++ b/htdocs/core/class/html.formticket.class.php
@@ -919,7 +919,7 @@ class FormTicket
// Subject
print ' |
| '.$langs->trans('Subject').' | ';
- print 'ref . '] '.$langs->trans('TicketNewMessage').'" />';
+ print ' | ref . '] '.$langs->trans('TicketNewMessage').'" />';
print ' |
';
// Destinataires