Maintenance: Skip null values for the param check to prevent errors on the to string cast.

This commit is contained in:
Rolf Schmidt 2022-01-06 14:26:48 +01:00
parent 20516d6f6e
commit 1218912494

View file

@ -127,7 +127,7 @@ class App.FormHandlerCoreWorkflow
for value in values
# false values are valid values e.g. for boolean fields (be careful)
if value isnt undefined && paramValue isnt undefined
if value isnt undefined && paramValue isnt undefined && value isnt null && paramValue isnt null
if value.toString() == paramValue.toString()
valueFound = true
break