IDEMPIERE-972 String index out of range: -1 on Financial Report

This commit is contained in:
Carlos Augusto Sanchez 2013-05-29 19:27:11 -05:00
parent b2d9e0ba88
commit d822048536
1 changed files with 1 additions and 1 deletions

View File

@ -1252,7 +1252,7 @@ public class FinReport extends SvrProcess
if (m_lines[line] == null || m_lines[line].getSources().length == 0)
return;
String variable = m_lines[line].getSourceColumnName();
if (variable == null)
if (variable == null || variable.equals("") )
return;
if (log.isLoggable(Level.FINE)) log.fine("Variable=" + variable);