diff --git a/htdocs/core/lib/agenda.lib.php b/htdocs/core/lib/agenda.lib.php
index 87755969897..a6a24e056b9 100644
--- a/htdocs/core/lib/agenda.lib.php
+++ b/htdocs/core/lib/agenda.lib.php
@@ -402,7 +402,7 @@ function agenda_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields");
$nbExtrafields = $extrafields->attributes['actioncomm']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
diff --git a/htdocs/core/lib/asset.lib.php b/htdocs/core/lib/asset.lib.php
index 117c564dc95..be31f995657 100644
--- a/htdocs/core/lib/asset.lib.php
+++ b/htdocs/core/lib/asset.lib.php
@@ -68,7 +68,7 @@ function assetAdminPrepareHead()
$head[$h][1] = $langs->trans("ExtraFieldsAssetModel");
$nbExtrafields = $extrafields->attributes['asset_model']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'assetmodel_extrafields';
$h++;
diff --git a/htdocs/core/lib/contract.lib.php b/htdocs/core/lib/contract.lib.php
index 7999db14f93..390de71fca8 100644
--- a/htdocs/core/lib/contract.lib.php
+++ b/htdocs/core/lib/contract.lib.php
@@ -134,7 +134,7 @@ function contract_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields");
$nbExtrafields = $extrafields->attributes['contrat']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
@@ -143,7 +143,7 @@ function contract_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFieldsLines");
$nbExtrafields = $extrafields->attributes['contratdet']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributeslines';
$h++;
diff --git a/htdocs/core/lib/donation.lib.php b/htdocs/core/lib/donation.lib.php
index 100998a3ac9..52ab3df958b 100644
--- a/htdocs/core/lib/donation.lib.php
+++ b/htdocs/core/lib/donation.lib.php
@@ -51,7 +51,7 @@ function donation_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields");
$nbExtrafields = $extrafields->attributes['don']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
diff --git a/htdocs/core/lib/ecm.lib.php b/htdocs/core/lib/ecm.lib.php
index cfcd4972a79..f61ec0e060c 100644
--- a/htdocs/core/lib/ecm.lib.php
+++ b/htdocs/core/lib/ecm.lib.php
@@ -181,7 +181,7 @@ function ecm_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFieldsEcmFiles");
$nbExtrafields = $extrafields->attributes['ecm_files']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes_ecm_files';
$h++;
@@ -190,7 +190,7 @@ function ecm_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFieldsEcmDirectories");
$nbExtrafields = $extrafields->attributes['ecm_directories']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes_ecm_directories';
$h++;
diff --git a/htdocs/core/lib/product.lib.php b/htdocs/core/lib/product.lib.php
index 8559cc275ac..983611120b0 100644
--- a/htdocs/core/lib/product.lib.php
+++ b/htdocs/core/lib/product.lib.php
@@ -314,7 +314,7 @@ function product_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields");
$nbExtrafields = $extrafields->attributes['product']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
@@ -323,7 +323,7 @@ function product_admin_prepare_head()
$head[$h][1] = $langs->trans("ProductSupplierExtraFields");
$nbExtrafields = $extrafields->attributes['product_fournisseur_price']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'supplierAttributes';
$h++;
diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php
index a8d29794b9d..22668a16be4 100644
--- a/htdocs/core/lib/project.lib.php
+++ b/htdocs/core/lib/project.lib.php
@@ -511,7 +511,7 @@ function project_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFieldsProject");
$nbExtrafields = $extrafields->attributes['projet']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
@@ -520,7 +520,7 @@ function project_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFieldsProjectTask");
$nbExtrafields = $extrafields->attributes['projet_task']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes_task';
$h++;
diff --git a/htdocs/core/lib/propal.lib.php b/htdocs/core/lib/propal.lib.php
index 54c0614b147..0b91188b47f 100644
--- a/htdocs/core/lib/propal.lib.php
+++ b/htdocs/core/lib/propal.lib.php
@@ -148,7 +148,7 @@ function propal_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields");
$nbExtrafields = $extrafields->attributes['propal']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
@@ -157,7 +157,7 @@ function propal_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFieldsLines");
$nbExtrafields = $extrafields->attributes['propaldet']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributeslines';
$h++;
diff --git a/htdocs/core/lib/stock.lib.php b/htdocs/core/lib/stock.lib.php
index e2e8d7a63d2..131093659b9 100644
--- a/htdocs/core/lib/stock.lib.php
+++ b/htdocs/core/lib/stock.lib.php
@@ -115,7 +115,7 @@ function stock_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields");
$nbExtrafields = $extrafields->attributes['entrepot']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
@@ -124,7 +124,7 @@ function stock_admin_prepare_head()
$head[$h][1] = $langs->trans("StockMouvementExtraFields");
$nbExtrafields = $extrafields->attributes['stock_mouvement']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'stockMouvementAttributes';
$h++;
@@ -133,7 +133,7 @@ function stock_admin_prepare_head()
$head[$h][1] = $langs->trans("InventoryExtraFields");
$nbExtrafields = $extrafields->attributes['inventory']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'inventoryAttributes';
$h++;
diff --git a/htdocs/core/lib/ticket.lib.php b/htdocs/core/lib/ticket.lib.php
index 4bfeeb5a5bf..79cc5980c16 100644
--- a/htdocs/core/lib/ticket.lib.php
+++ b/htdocs/core/lib/ticket.lib.php
@@ -49,7 +49,7 @@ function ticketAdminPrepareHead()
$head[$h][1] = $langs->trans("ExtraFieldsTicket");
$nbExtrafields = $extrafields->attributes['ticket']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php
index 79648eddd87..6e7ad7ade3e 100644
--- a/htdocs/core/lib/usergroups.lib.php
+++ b/htdocs/core/lib/usergroups.lib.php
@@ -274,7 +274,7 @@ function user_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields")." (".$langs->trans("Users").")";
$nbExtrafields = $extrafields->attributes['user']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes';
$h++;
@@ -283,7 +283,7 @@ function user_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields")." (".$langs->trans("Groups").")";
$nbExtrafields = $extrafields->attributes['usergroup']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'attributes_group';
$h++;
diff --git a/htdocs/hrm/lib/hrm.lib.php b/htdocs/hrm/lib/hrm.lib.php
index d821c2f5216..2fef293784d 100644
--- a/htdocs/hrm/lib/hrm.lib.php
+++ b/htdocs/hrm/lib/hrm.lib.php
@@ -58,7 +58,7 @@ function hrmAdminPrepareHead()
$head[$h][1] = $langs->trans("EvaluationsExtraFields");
$nbExtrafields = $extrafields->attributes['hrm_evaluation']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'evaluationsAttributes';
$h++;
@@ -67,7 +67,7 @@ function hrmAdminPrepareHead()
$head[$h][1] = $langs->trans("JobsExtraFields");
$nbExtrafields = $extrafields->attributes['hrm_job']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'jobsAttributes';
$h++;
@@ -76,7 +76,7 @@ function hrmAdminPrepareHead()
$head[$h][1] = $langs->trans("SkillsExtraFields");
$nbExtrafields = $extrafields->attributes['hrm_skill']['count'];
if ($nbExtrafields > 0) {
- $head[$h][1] .= ' '.$nbExtrafields.'';
+ $head[$h][1] .= ''.$nbExtrafields.'';
}
$head[$h][2] = 'skillsAttributes';
$h++;