Update html.form.class.php
This commit is contained in:
parent
1b9a2e5cfc
commit
c6b3d81d61
@ -2663,7 +2663,7 @@ class Form
|
|||||||
if (count($scrit) > 1) $sql.=")";
|
if (count($scrit) > 1) $sql.=")";
|
||||||
if (! empty($conf->barcode->enabled)){
|
if (! empty($conf->barcode->enabled)){
|
||||||
$sql.= " OR p.barcode LIKE '".$this->db->escape($prefix.$filterkey)."%'";
|
$sql.= " OR p.barcode LIKE '".$this->db->escape($prefix.$filterkey)."%'";
|
||||||
$sql.= " OR pfp.barcode LIKE '".$this->db->escape($prefix.$filterkey)."%'";
|
if (! empty($conf->global->BARCODE_USE_BARCODE_FOR_SUPPLIER_PRICES)) $sql.= " OR pfp.barcode LIKE '".$this->db->escape($prefix.$filterkey)."%'";
|
||||||
}
|
}
|
||||||
$sql.=')';
|
$sql.=')';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user