Revert revision 2490 - this doesn't solve the problem.
The bug doesn't occurs always
This commit is contained in:
parent
994b1a5d65
commit
78135ac724
|
@ -319,7 +319,7 @@ public final class MLocatorLookup extends Lookup implements Serializable
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
PreparedStatement pstmt = DB.prepareStatement(finalSql, null);
|
PreparedStatement pstmt = DB.prepareStatement(finalSql, null);
|
||||||
int index = 0;
|
int index = 1;
|
||||||
if (getOnly_Warehouse_ID() != 0)
|
if (getOnly_Warehouse_ID() != 0)
|
||||||
pstmt.setInt(index++, getOnly_Warehouse_ID());
|
pstmt.setInt(index++, getOnly_Warehouse_ID());
|
||||||
if (getOnly_Product_ID() != 0)
|
if (getOnly_Product_ID() != 0)
|
||||||
|
|
Loading…
Reference in New Issue