revert previous revision as it break adempiere build

This commit is contained in:
Heng Sin Low 2009-09-18 03:02:58 +00:00
parent 5ed5ca144f
commit 1f90a47bc0
1 changed files with 1 additions and 4 deletions

View File

@ -257,10 +257,7 @@ public class ReportCtl
ReportEngine re = ReportEngine.get (Env.getCtx(), type, Record_ID); ReportEngine re = ReportEngine.get (Env.getCtx(), type, Record_ID);
if (re == null) if (re == null)
{ {
if(Ini.isClient()) ADialog.error(0, null, "NoDocPrintFormat");
ADialog.error(0, null, "NoDocPrintFormat");
else
FDialog.error(0, (Component) null, "NoDocPrintFormat");
return false; return false;
} }