From 1f90a47bc0e63e48921e10d053baa0decba4c41b Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Fri, 18 Sep 2009 03:02:58 +0000 Subject: [PATCH] revert previous revision as it break adempiere build --- client/src/org/compiere/print/ReportCtl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/src/org/compiere/print/ReportCtl.java b/client/src/org/compiere/print/ReportCtl.java index 981c78411e..e42a67b65c 100644 --- a/client/src/org/compiere/print/ReportCtl.java +++ b/client/src/org/compiere/print/ReportCtl.java @@ -257,10 +257,7 @@ public class ReportCtl ReportEngine re = ReportEngine.get (Env.getCtx(), type, Record_ID); if (re == null) { - if(Ini.isClient()) - ADialog.error(0, null, "NoDocPrintFormat"); - else - FDialog.error(0, (Component) null, "NoDocPrintFormat"); + ADialog.error(0, null, "NoDocPrintFormat"); return false; }