From cfa42ebfb176799d52b43167b8807ab3b71dfaa2 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Sat, 7 Sep 2024 00:32:17 +0200 Subject: [PATCH] LDEV-3382 - check for old and new variable path --- core/src/main/java/resource/context/admin/debug/Modern.cfc | 6 ++++-- loader/build.xml | 2 +- loader/pom.xml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/resource/context/admin/debug/Modern.cfc b/core/src/main/java/resource/context/admin/debug/Modern.cfc index 4fab2afdb7..1689b922f2 100644 --- a/core/src/main/java/resource/context/admin/debug/Modern.cfc +++ b/core/src/main/java/resource/context/admin/debug/Modern.cfc @@ -162,8 +162,10 @@ if(structKeyExists(arguments.custom, "metrics_Charts")) { local.times=arguments.debugging.times; var time=getTickCount(); - var _cgi=structKeyExists(arguments.debugging,'cgi')?arguments.debugging.cgi:cgi; - + // CGI + if(!isNull(arguments.debugging.scope.cgi)) local._cgi=arguments.debugging.scope.cgi; + else if(!isNull(arguments.debugging.cgi)) local._cgi=arguments.debugging.cgi; + else local._cgi=cgi; diff --git a/loader/build.xml b/loader/build.xml index 018e0c871e..a61f865ec8 100644 --- a/loader/build.xml +++ b/loader/build.xml @@ -2,7 +2,7 @@ - + diff --git a/loader/pom.xml b/loader/pom.xml index 774ac0da32..be1a930f7b 100644 --- a/loader/pom.xml +++ b/loader/pom.xml @@ -3,7 +3,7 @@ org.lucee lucee - 6.1.1.79-RC + 6.1.1.80-SNAPSHOT jar Lucee Loader Build