Commit b72d1cdd authored by manohar's avatar manohar

bug fixing


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92937 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6085ae30
...@@ -589,7 +589,7 @@ public class InvPackAct extends ActionHandlerEJB implements InvPackActLocal, Inv ...@@ -589,7 +589,7 @@ public class InvPackAct extends ActionHandlerEJB implements InvPackActLocal, Inv
{ {
maxLotSl = "0"; maxLotSl = "0";
} }
if (maxLotSl.indexOf(".")) if (maxLotSl.indexOf(".") > -1)
{ {
maxLotSl = maxLotSl.substring(0,maxLotSl.indexOf(".")) ; maxLotSl = maxLotSl.substring(0,maxLotSl.indexOf(".")) ;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment