mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Single quotes
This commit is contained in:
parent
9e24785972
commit
2729bd32e6
|
|
@ -125,7 +125,7 @@ if ($action == 'getProducts') {
|
|||
if ($conf->global->TAKEPOS_PRODUCT_IN_STOCK == 1) {
|
||||
$sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'product_stock as ps';
|
||||
$sql .= ' ON (p.rowid = ps.fk_product';
|
||||
$sql .= " AND ps.fk_entrepot = ".((int) getDolGlobalInt('CASHDESK_ID_WAREHOUSE'.$_SESSION['takeposterminal']));
|
||||
$sql .= ' AND ps.fk_entrepot = '.((int) getDolGlobalInt('CASHDESK_ID_WAREHOUSE'.$_SESSION['takeposterminal']));
|
||||
}
|
||||
$sql .= ' WHERE entity IN ('.getEntity('product').')';
|
||||
if ($filteroncategids) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user