Commit 01743209 authored by Daniel Wortmann's avatar Daniel Wortmann

Fixed previous commit

parent bce67055
......@@ -572,7 +572,10 @@ MODULE m_xmlOutput
IMPLICIT NONE
CHARACTER(LEN=*), INTENT(IN) :: elementName
if (currentElementIndex>UBOUND(elementList)) return .false.
if (currentElementIndex>SIZE(elementList)) THEN
isCurrentXMLElement=.false.
return
endif
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