diff --git a/base/src/org/compiere/model/MAllocationHdr.java b/base/src/org/compiere/model/MAllocationHdr.java index 2ada5f76a7..9022faece2 100644 --- a/base/src/org/compiere/model/MAllocationHdr.java +++ b/base/src/org/compiere/model/MAllocationHdr.java @@ -200,10 +200,8 @@ public final class MAllocationHdr extends X_C_AllocationHdr implements DocAction public MAllocationLine[] getLines (boolean requery) { if (m_lines != null && m_lines.length != 0 && !requery) { - if (m_lines != null && m_lines.length != 0 && !requery) { - set_TrxName(m_lines, get_TrxName()); - return m_lines; - } + set_TrxName(m_lines, get_TrxName()); + return m_lines; } // String sql = "SELECT * FROM C_AllocationLine WHERE C_AllocationHdr_ID=?";