Fix label

This commit is contained in:
Laurent Destailleur 2022-07-13 00:59:39 +02:00
parent 8422d3079c
commit 713b506980

View File

@ -387,13 +387,13 @@ if (empty($reshook)) {
* View
*/
$title = $langs->trans("ListOfProductsAndServices");
$title = $langs->trans("ProductsAndServices");
if ($search_type != '' && $search_type != '-1') {
if ($search_type == 1) {
$title = $langs->trans("ListOfServices");
$title = $langs->trans("Services");
} else {
$title = $langs->trans("ListOfProducts");
$title = $langs->trans("Products");
}
}