Fixing style errors.
This commit is contained in:
parent
db3edba578
commit
6e8ba543de
@ -218,7 +218,7 @@ if ($action == 'getProducts') {
|
||||
|
||||
// Add tables from hooks
|
||||
$parameters=array();
|
||||
$reshook=$hookmanager->executeHooks('printFieldListTables', $parameters);
|
||||
$reshook=$hookmanager->executeHooks('printFieldListTables', $parameters);
|
||||
$sql .= $hookmanager->resPrint;
|
||||
|
||||
$sql .= ' WHERE entity IN ('.getEntity('product').')';
|
||||
@ -229,7 +229,7 @@ if ($action == 'getProducts') {
|
||||
$sql .= natural_search(array('ref', 'label', 'barcode'), $term);
|
||||
// Add where from hooks
|
||||
$parameters=array();
|
||||
$reshook=$hookmanager->executeHooks('printFieldListWhere', $parameters);
|
||||
$reshook=$hookmanager->executeHooks('printFieldListWhere', $parameters);
|
||||
$sql .= $hookmanager->resPrint;
|
||||
|
||||
$resql = $db->query($sql);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user