diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php
index 7721a347521..5b94224b85f 100644
--- a/htdocs/commande/list.php
+++ b/htdocs/commande/list.php
@@ -2045,7 +2045,9 @@ if ($resql) {
// Ref customer
if (!empty($arrayfields['c.ref_client']['checked'])) {
- print '
'.$obj->ref_client.' | ';
+ print '';
+ print dol_escape_htmltag($obj->ref_client);
+ print ' | ';
if (!$i) {
$totalarray['nbfield']++;
}
@@ -2350,7 +2352,7 @@ if ($resql) {
// Author
if (!empty($arrayfields['u.login']['checked'])) {
- print '';
+ print ' | ';
if ($userstatic->id) {
print $userstatic->getNomUrl(-1);
} else {
diff --git a/htdocs/mrp/class/api_mos.class.php b/htdocs/mrp/class/api_mos.class.php
index 2312f4bd636..594cd0e1ac4 100644
--- a/htdocs/mrp/class/api_mos.class.php
+++ b/htdocs/mrp/class/api_mos.class.php
@@ -345,10 +345,10 @@ class Mos extends DolibarrApi
}
if (empty($labelmovement)) {
- throw new RestException(500, "Field inventorylabel not prodivded");
+ throw new RestException(500, "Field inventorylabel not provided");
}
if (empty($codemovement)) {
- throw new RestException(500, "Field inventorycode not prodivded");
+ throw new RestException(500, "Field inventorycode not provided");
}
// Code for consume and produce...
diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php
index 5129e1ddb55..2f6159633fb 100644
--- a/htdocs/societe/list.php
+++ b/htdocs/societe/list.php
@@ -1355,15 +1355,15 @@ $totalarray['nbfield'] = 0;
// --------------------------------------------------------------------
print ' | ';
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
- print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch actioncolumn ');
+ print_liste_field_titre(($mode != 'kanban' ? $selectedfields : ''), $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch actioncolumn ');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['s.rowid']['checked'])) {
- print_liste_field_titre($arrayfields['s.rowid']['label'], $_SERVER["PHP_SELF"], "s.rowid", "", $param, ' data-key="id"', $sortfield, $sortorder, 'actioncolumn ');
+ print_liste_field_titre($arrayfields['s.rowid']['label'], $_SERVER["PHP_SELF"], "s.rowid", "", $param, ' data-key="id"', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['s.nom']['checked'])) {
- print_liste_field_titre($arrayfields['s.nom']['label'], $_SERVER["PHP_SELF"], "s.nom", "", $param, ' data-key="ref"', $sortfield, $sortorder, 'actioncolumn ');
+ print_liste_field_titre($arrayfields['s.nom']['label'], $_SERVER["PHP_SELF"], "s.nom", "", $param, ' data-key="ref"', $sortfield, $sortorder, ' ');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['s.name_alias']['checked'])) {
@@ -1510,7 +1510,7 @@ if (!empty($arrayfields['s.import_key']['checked'])) {
}
// Action column
if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
- print_liste_field_titre(($mode != 'kanban' ? $selectedfields : ''), 0, $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch actioncolumn ');
+ print_liste_field_titre(($mode != 'kanban' ? $selectedfields : ''), $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch actioncolumn ');
$totalarray['nbfield']++; // For the column action
}
print '
'."\n";