diff --git a/htdocs/api/admin/index.php b/htdocs/api/admin/index.php
index 73041f6c386..d0a0e79c855 100644
--- a/htdocs/api/admin/index.php
+++ b/htdocs/api/admin/index.php
@@ -153,7 +153,7 @@ $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domai
// Show message
$message = '';
$url = $urlwithroot.'/api/index.php/login?login=auserlogin&password=thepassword[&reset=1]';
-$message .= $langs->trans("UrlToGetKeyToUseAPIs").':
';
+$message .= ''.$langs->trans("UrlToGetKeyToUseAPIs").':
';
$message .= img_picto('', 'globe').' '.$url;
print $message;
print '
';