Fix [ 1888832 ] NPE starting adempiere

This commit is contained in:
Carlos Ruiz 2008-02-07 15:11:24 +00:00
parent 71ee0da862
commit ba07d01b9d
1 changed files with 2 additions and 0 deletions

View File

@ -930,6 +930,8 @@ public final class MRole extends X_AD_Role
*/
private boolean isView(String tableName)
{
if (m_viewName == null)
loadAccess(true);
return m_viewName.contains(tableName.toUpperCase());
}