瀏覽代碼

Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 16.0

Laurent Destailleur 2 年之前
父節點
當前提交
cbfbb88a84
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      htdocs/compta/stats/cabyprodserv.php

+ 1 - 1
htdocs/compta/stats/cabyprodserv.php

@@ -323,7 +323,7 @@ if ($modecompta == 'CREANCES-DETTES') {
 	}
 	if ($selected_cat === -2) {	// Without any category
 		$sql .= " AND cp.fk_product is null";
-	} elseif ($selected_cat) {	// Into a specific category
+	} elseif ($selected_cat > 0) {	// Into a specific category
 		if ($subcat) {
 			$TListOfCats = $categorie->get_full_arbo('product', $selected_cat, 1);