correct product fournisseur class fetchAll

This commit is contained in:
Alexis LAURIER 2021-03-08 17:35:12 +01:00
parent e7f24e2109
commit 061e797d64

View File

@ -1293,7 +1293,7 @@ class ProductFournisseur extends Product
$sql = 'SELECT ';
$sql .= $this->getFieldList();
$sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.' as t';
$sql .= ' FROM '.MAIN_DB_PREFIX.'product_fournisseur_price as t';
$sql .= ' WHERE t.entity IN ('.getEntity('productsupplierprice').')';
// Manage filter