From e7eb5e1b29caf12073baf44f56ad8881a537d7b8 Mon Sep 17 00:00:00 2001 From: jclausen Date: Wed, 25 Sep 2024 09:28:34 -0400 Subject: [PATCH] ACF 2018 compat --- models/logging/AppenderService.cfc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/logging/AppenderService.cfc b/models/logging/AppenderService.cfc index 67f0832..13b0d6e 100644 --- a/models/logging/AppenderService.cfc +++ b/models/logging/AppenderService.cfc @@ -91,7 +91,7 @@ component accessors="true" singleton { string category ){ if ( !isNumeric( arguments.severity ) ) { - if ( !this.logLevels.keyExists( arguments.severity ) ) { + if ( !structKeyExists( this.logLevels, arguments.severity ) ) { throw( type = "cbelasticsearch.logging.InvalidSeverity", message = "The severity [#arguments.severity#] provided is not valid. Please provide a valid numeric serverity or one of the following levels [#this.logLevels.keyArray().toList()#]."