From e1cd15de3fecaa6b80358ac52582475b5101f203 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 16 May 2008 05:26:53 +0000 Subject: [PATCH] Fix [ 1960094 ] db process excuted twice --- client/src/org/compiere/apps/ProcessCtl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/org/compiere/apps/ProcessCtl.java b/client/src/org/compiere/apps/ProcessCtl.java index 995fecb8e6..07c9cf9f79 100644 --- a/client/src/org/compiere/apps/ProcessCtl.java +++ b/client/src/org/compiere/apps/ProcessCtl.java @@ -400,7 +400,7 @@ public class ProcessCtl implements Runnable } // No Optional SQL procedure ... done - if (!IsReport && ProcedureName.length() == 0) + if (!IsReport && ProcedureName.length() == 0) { unlock (); return; @@ -417,7 +417,7 @@ public class ProcessCtl implements Runnable * Report submission */ // Optional Pre-Report Process - if (ProcedureName.length() > 0) + if (IsReport && ProcedureName.length() > 0) { m_pi.setReportingProcess(true); if (!startDBProcess(ProcedureName))