Update productcustomerprice.class.php

This commit is contained in:
Laurent Destailleur 2018-07-09 17:03:55 +02:00 committed by GitHub
parent e8afd7e833
commit 551e2efe86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ) {