From 138f16144d5702d47f8370a5fde90be7b20575fa Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Wed, 31 Jan 2007 13:37:19 +0000 Subject: [PATCH] bug fix [ 1648850 ] MTable.getClass works incorrect for table "Fact_Acct" --- dbPort/src/org/compiere/model/MTable.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dbPort/src/org/compiere/model/MTable.java b/dbPort/src/org/compiere/model/MTable.java index 6533253dbd..dc5ec6c818 100644 --- a/dbPort/src/org/compiere/model/MTable.java +++ b/dbPort/src/org/compiere/model/MTable.java @@ -25,6 +25,11 @@ import org.compiere.util.*; /** * Persistent Table Model + *

+ * Change log: + *

* * @author Jorg Janke * @version $Id: MTable.java,v 1.3 2006/07/30 00:58:04 jjanke Exp $ @@ -187,7 +192,7 @@ public class MTable extends X_AD_Table else { String prefix = className.substring(0,index); - if (prefix.equals("Fact")) // keep custom prefix + if (!prefix.equals("Fact")) // keep custom prefix className = className.substring(index+1); } }