Commit 0e82d12f authored by Jesper Zedlitz's avatar Jesper Zedlitz
Browse files

beim OR-Verknüpfen muss man explizit auf null testen

parent 3d5e6e37
Pipeline #1616 failed with stages
in 3 seconds
......@@ -109,7 +109,7 @@ class Entry {
if( nr == 12) value12 = value
if( nr == 13) value13 = value
if( nr == 14) value14 = value
if( moreValues | nr > 14) {
if( moreValues != null | nr > 14) {
def json = moreValues ? new JsonSlurper().parseText(moreValues) : [:]
json['value' + nr] = value
moreValues = JsonOutput.toJson(json)
......
Supports Markdown
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