Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Nov 16, 2024
1 parent df1ebb4 commit 450176e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/lucee/runtime/config/ConfigWebFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -4689,7 +4689,7 @@ private static void _loadSearch(ConfigServer configServer, ConfigImpl config, St
private static void _loadScheduler(ConfigServer configServer, ConfigImpl config, Struct root, Log log) {
try {
if (config instanceof ConfigServer) {
short mode = ((ConfigServerImpl) config).getAdminMode();
short mode = config.getAdminMode();
// short mode = ConfigWebUtil.toAdminMode(getAttr(root, "mode"), ConfigImpl.ADMINMODE_SINGLE);
if (mode == ConfigImpl.ADMINMODE_MULTI) return;
}
Expand Down Expand Up @@ -4885,7 +4885,7 @@ private static void _loadDebug(ConfigServerImpl configServer, ConfigImpl config,

// max records logged
String strMax = getAttr(root, "debuggingMaxRecordsLogged");
if (StringUtil.isEmpty(str)) str = getAttr(root, "debuggingShowMaxRecordsLogged");
if (StringUtil.isEmpty(strMax)) strMax = getAttr(root, "debuggingShowMaxRecordsLogged");
if (hasAccess && !StringUtil.isEmpty(strMax)) {
config.setDebugMaxRecordsLogged(Caster.toIntValue(strMax, 10));
}
Expand Down

0 comments on commit 450176e

Please sign in to comment.