From e3afa31402f1e5ed5159eec3b06d9f41b23e8d3d Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Thu, 6 Jan 2022 16:41:41 +0100 Subject: [PATCH] Maintenance: Skip null values for the param check to prevent errors on the to string cast. --- .../controllers/ticket_zoom/form_handler_core_workflow.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/form_handler_core_workflow.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/form_handler_core_workflow.coffee index c52f4e61b..6c4158f34 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/form_handler_core_workflow.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/form_handler_core_workflow.coffee @@ -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