Revert revision 2490 - this doesn't solve the problem.

The bug doesn't occurs always
This commit is contained in:
Carlos Ruiz 2007-05-25 08:19:54 +00:00
parent 994b1a5d65
commit 78135ac724
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ public final class MLocatorLookup extends Lookup implements Serializable
try
{
PreparedStatement pstmt = DB.prepareStatement(finalSql, null);
int index = 0;
int index = 1;
if (getOnly_Warehouse_ID() != 0)
pstmt.setInt(index++, getOnly_Warehouse_ID());
if (getOnly_Product_ID() != 0)