Update html.form.class.php

This commit is contained in:
Frédéric FRANCE 2017-11-22 20:24:04 +01:00 committed by Frédéric FRANCE
parent b405a877b9
commit 0ee30171db
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
2 changed files with 2 additions and 3 deletions

View File

@ -962,7 +962,6 @@ class Facture extends CommonInvoice
* @param User $user Object user
* @return int <0 if KO, 0 if nothing done, 1 if OK
*/
function createFromOrder($object, User $user)
{
global $hookmanager;

View File

@ -1651,7 +1651,7 @@ class Form
* @param int $showproperties Show properties of each attendees
* @param array $listofuserid Array with properties of each user
* @param array $listofcontactid Array with properties of each contact
* @param array $listofother Array with properties of each other contact
* @param array $listofotherid Array with properties of each other contact
* @return string HTML select string
* @see select_dolgroups
*/
@ -1957,7 +1957,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').')';