ソースを参照

Close #26293 manually to avoid duplicate menu statistics

Laurent Destailleur 1 年間 前
コミット
65f78b6e86
1 ファイル変更7 行追加1 行削除
  1. 7 1
      htdocs/product/popuprop.php

+ 7 - 1
htdocs/product/popuprop.php

@@ -113,7 +113,13 @@ $head[$h][2] = 'chart';
 $h++;
 
 $head[$h][0] = DOL_URL_ROOT.'/product/popuprop.php';
-$head[$h][1] = $langs->trans("ProductsPerPopularity");
+$head[$h][1] = $langs->trans("ProductsServicesPerPopularity");
+if ((string) $type == '0') {
+	$head[$h][1] = $langs->trans("ProductsPerPopularity");
+}
+if ((string) $type == '1') {
+	$head[$h][1] = $langs->trans("ServicesPerPopularity");
+}
 $head[$h][2] = 'popularity';
 $h++;