diff --git a/htdocs/compta/bank/account_statement_document.php b/htdocs/compta/bank/account_statement_document.php
index 157f9603141..bc260a4e527 100644
--- a/htdocs/compta/bank/account_statement_document.php
+++ b/htdocs/compta/bank/account_statement_document.php
@@ -103,7 +103,7 @@ if ($id > 0 || !empty($ref)) {
$upload_dir = $conf->bank->dir_output . "/".$id."/statement/" . dol_sanitizeFileName($num);
// Onglets
- $head = account_statement_prepare_head($object,$num);
+ $head = account_statement_prepare_head($object, $num);
dol_fiche_head($head, 'document', $langs->trans("FinancialAccount"), -1, 'account');
diff --git a/htdocs/compta/bank/releve.php b/htdocs/compta/bank/releve.php
index 516a8097676..31fb613cb59 100644
--- a/htdocs/compta/bank/releve.php
+++ b/htdocs/compta/bank/releve.php
@@ -362,7 +362,7 @@ else
*/
// Onglets
- $head=account_statement_prepare_head($object,$numref);
+ $head=account_statement_prepare_head($object, $numref);
dol_fiche_head($head, 'statement', $langs->trans("FinancialAccount"), 0, 'account');
diff --git a/htdocs/core/lib/bank.lib.php b/htdocs/core/lib/bank.lib.php
index a175d5b35cc..358a823dd12 100644
--- a/htdocs/core/lib/bank.lib.php
+++ b/htdocs/core/lib/bank.lib.php
@@ -165,7 +165,7 @@ function bank_admin_prepare_head($object)
* @param Object $num val to account statement
* @return array Array of tabs to shoc
*/
-function account_statement_prepare_head($object,$num)
+function account_statement_prepare_head($object, $num)
{
global $langs, $conf, $user,$db;
$h = 0;
diff --git a/htdocs/core/tpl/document_actions_post_headers.tpl.php b/htdocs/core/tpl/document_actions_post_headers.tpl.php
index 4a59734e84a..692c9cf3494 100644
--- a/htdocs/core/tpl/document_actions_post_headers.tpl.php
+++ b/htdocs/core/tpl/document_actions_post_headers.tpl.php
@@ -120,5 +120,5 @@ $formfile->list_of_documents(
print "
";
//List of links
-$formfile->listOfLinks($object, $permission, $action, GETPOST('linkid', 'int'), $param,$relativepathwithnofile);
+$formfile->listOfLinks($object, $permission, $action, GETPOST('linkid', 'int'), $param, $relativepathwithnofile);
print "
";