Merge pull request #19582 from atm-florianm/FIX_13.0_duplicate_hook_printFieldListWhere_in_replenish
FIX 13.0: printFieldListWhere called twice on same query
This commit is contained in:
commit
37fd2e05b9
@ -505,11 +505,6 @@ if ($includeproductswithoutdesiredqty == 'on') {
|
|||||||
$includeproductswithoutdesiredqtychecked = 'checked';
|
$includeproductswithoutdesiredqtychecked = 'checked';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add where from hooks
|
|
||||||
$parameters = array();
|
|
||||||
$reshook = $hookmanager->executeHooks('printFieldListWhere', $parameters); // Note that $action and $object may have been modified by hook
|
|
||||||
$sql .= $hookmanager->resPrint;
|
|
||||||
|
|
||||||
$nbtotalofrecords = '';
|
$nbtotalofrecords = '';
|
||||||
if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST)) {
|
if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST)) {
|
||||||
$result = $db->query($sql);
|
$result = $db->query($sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user