Commit bce67055 authored by Daniel Wortmann's avatar Daniel Wortmann

Introduced additional check to avoid checking empty list

parent 42c2995b
......@@ -572,7 +572,7 @@ MODULE m_xmlOutput
IMPLICIT NONE
CHARACTER(LEN=*), INTENT(IN) :: elementName
if (currentElementIndex>UBOUND(elementList)) return .false.
isCurrentXMLElement = (TRIM(ADJUSTL(elementList(currentElementIndex))).EQ.TRIM(ADJUSTL(elementName)))
END FUNCTION isCurrentXMLElement
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment