Skip to content

Commit

Permalink
Fix more wrong llxHeader on "related items" tab for product card Doli…
Browse files Browse the repository at this point in the history
…barr#30065 (Dolibarr#30079)

* Fix more wrong llxHeader on "related items" tab for product card Dolibarr#30065

* Fix phan

* fix phan
  • Loading branch information
fappels authored Jun 19, 2024
1 parent eea3c74 commit 429b571
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion htdocs/product/stats/commande.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}

llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', '', 'mod-product page-stats_commande');
llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', 'mod-product page-stats_commande');

if ($result > 0) {
$head = product_prepare_head($product);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/product/stats/commande_fournisseur.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}

llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', '', 'mod-product page-stats_commande_fournisseur');
llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', 'mod-product page-stats_commande_fournisseur');

if ($result > 0) {
$head = product_prepare_head($product);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/product/stats/contrat.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}

llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', '', 'mod-product page-stats_contrat');
llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', 'mod-product page-stats_contrat');

if ($result > 0) {
$head = product_prepare_head($product);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/product/stats/expedition.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}

llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', '', 'mod-product page-stats_expedition');
llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', 'mod-product page-stats_expedition');

if ($result > 0) {
$head = product_prepare_head($product);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/product/stats/facture_fournisseur.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}

llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', '', 'mod-product page-stats_facture_fournisseur');
llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', 'mod-product page-stats_facture_fournisseur');

if ($result > 0) {
$head = product_prepare_head($product);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/product/stats/facturerec.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
$helpurl = 'EN:Module_Services_En|FR:Module_Services|ES:Módulo_Servicios';
}

llxHeader('', $title, $helpurl, '', '', 0, 0, '', '', '', 'mod-product page-stats_facturerec');
llxHeader('', $title, $helpurl, '', '', 0, 0, '', '', 'mod-product page-stats_facturerec');

if ($result > 0) {
$head = product_prepare_head($product);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/product/stats/mo.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}

llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', '', 'mod-product page-stats_mo');
llxHeader("", "", $langs->trans("CardProduct".$product->type), '', '', 0, 0, '', '', 'mod-product page-stats_mo');

if ($result > 0) {
$head = product_prepare_head($product);
Expand Down

0 comments on commit 429b571

Please sign in to comment.