diff --git a/htdocs/compta/paiement/cheque/card.php b/htdocs/compta/paiement/cheque/card.php
index b775a2b27f1..6e3b1f2e358 100644
--- a/htdocs/compta/paiement/cheque/card.php
+++ b/htdocs/compta/paiement/cheque/card.php
@@ -529,7 +529,7 @@ if ($action == 'new') {
print '';
print '';
- print_fiche_titre($account_label, '', '');
+ print load_fiche_titre($account_label, '', '');
$moreforfilter = '';
print '
';
diff --git a/htdocs/core/ajax/mailtemplate.php b/htdocs/core/ajax/mailtemplate.php
index 5f6c583412f..bff5def7a2f 100644
--- a/htdocs/core/ajax/mailtemplate.php
+++ b/htdocs/core/ajax/mailtemplate.php
@@ -162,6 +162,9 @@ if (GETPOSTISSET('template')) {
$selectedIdsStr = GETPOST('selectedPosts', 'alpha');
//$selectedPosts = array();
$selectedIds = json_decode($selectedIdsStr);
+ if (is_numeric($selectedIds)) {
+ $selectedIds = array($selectedIds);
+ }
/*if (is_array($selectedPostsStr)) {
$selectedPosts = explode(',', $selectedPostsStr);
}*/
diff --git a/htdocs/loan/schedule.php b/htdocs/loan/schedule.php
index c61643af829..1047440dfaa 100644
--- a/htdocs/loan/schedule.php
+++ b/htdocs/loan/schedule.php
@@ -270,7 +270,6 @@ if (count($echeances->lines) > 0) {
print '
';
}
-//print_fiche_titre($langs->trans("FinancialCommitment"));
print '
';
print '
';
diff --git a/htdocs/user/credentials.php b/htdocs/user/credentials.php
index 0fc99e69291..503527c727e 100644
--- a/htdocs/user/credentials.php
+++ b/htdocs/user/credentials.php
@@ -325,8 +325,6 @@ if (empty($listoftotps)) {
print '
| '.$langs->trans("NoRecordFound").' |
';
}
-//print_fiche_titre($langs->trans("ApiKey"));
-
print ''."\n";
print ''."\n";