Merge pull request #7856 from frederic34/patch-1

Update html.form.class.php
This commit is contained in:
Laurent Destailleur 2017-11-24 16:33:00 +01:00 committed by GitHub
commit 21764ed0cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1951,7 +1951,7 @@ class Form
}
if (!empty($conf->global->PRODUIT_ATTRIBUTES_HIDECHILD)) {
$sql .= " LEFT JOIN llx_product_attribute_combination pac ON pac.fk_product_child = p.rowid";
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product_attribute_combination pac ON pac.fk_product_child = p.rowid";
}
$sql.= ' WHERE p.entity IN ('.getEntity('product').')';