From 551e2efe8666ee9dfe2b2f6a64f8e92d549d0f0b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Jul 2018 17:03:55 +0200 Subject: [PATCH] Update productcustomerprice.class.php --- htdocs/product/class/productcustomerprice.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/product/class/productcustomerprice.class.php b/htdocs/product/class/productcustomerprice.class.php index 096b4725531..c5f5a1a0e6b 100644 --- a/htdocs/product/class/productcustomerprice.class.php +++ b/htdocs/product/class/productcustomerprice.class.php @@ -342,8 +342,7 @@ class Productcustomerprice extends CommonObject $sql .= " AND prod.rowid=t.fk_product "; $sql .= " AND prod.entity IN (" . getEntity('product') . ")"; $sql .= " AND t.entity IN (" . getEntity('productprice') . ")"; - $sql .= " AND soc.entity IN (" . getEntity('societe') . ")"; - + // Manage filter if (count($filter) > 0) { foreach ( $filter as $key => $value ) {