From d1957e1a05f231c005d7f43ce0aff2e140e45d0f Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Wed, 15 Apr 2020 18:31:20 +0200 Subject: [PATCH] Update api_thirdparties.class.php --- htdocs/societe/class/api_thirdparties.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/class/api_thirdparties.class.php b/htdocs/societe/class/api_thirdparties.class.php index 3bf0749ca4d..bb72a8d3e7f 100644 --- a/htdocs/societe/class/api_thirdparties.class.php +++ b/htdocs/societe/class/api_thirdparties.class.php @@ -140,7 +140,7 @@ class Thirdparties extends DolibarrApi if ($mode == 3) $sql .= " AND t.client IN (0)"; if ($mode == 4) $sql .= " AND t.fournisseur IN (1)"; - // Select products of given category + // Select thirdparties of given category if ($category > 0) { $sql .= " AND c.fk_categorie = ".$db->escape($category); $sql .= " AND c.fk_soc = t.rowid ";