bug fix [ 1648850 ] MTable.getClass works incorrect for table "Fact_Acct"

This commit is contained in:
teo_sarca 2007-01-31 13:37:19 +00:00
parent 1528a5f713
commit 138f16144d
1 changed files with 6 additions and 1 deletions

View File

@ -25,6 +25,11 @@ import org.compiere.util.*;
/**
* Persistent Table Model
* <p>
* Change log:
* <ul>
* <li>2007-01-31 - teo_sarca - [ 1648850 ] MTable.getClass works incorrect for table "Fact_Acct"
* </ul>
*
* @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);
}
}