From 121891249410b3a9e959fa5bce029610ff37e822 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Thu, 6 Jan 2022 14:26:48 +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