diff --git a/config/Coldbox.cfc b/config/Coldbox.cfc index 7efb02331..de97ab4d2 100755 --- a/config/Coldbox.cfc +++ b/config/Coldbox.cfc @@ -159,7 +159,7 @@ component { function development(){ coldbox.handlersIndexAutoReload = true; coldbox.handlerCaching = false; - coldbox.debugMode = true; + coldbox.debugMode = true; coldbox.reinitpassword = ""; coldbox.customErrorTemplate = "/coldbox/system/exceptions/Whoops.cfm"; diff --git a/modules/contentbox/models/system/SettingService.cfc b/modules/contentbox/models/system/SettingService.cfc index d758306c6..c70fd3096 100755 --- a/modules/contentbox/models/system/SettingService.cfc +++ b/modules/contentbox/models/system/SettingService.cfc @@ -612,7 +612,10 @@ component } ) // Build out array of settings to save .each( function( key, value ){ - var thisSetting = findWhere( { name : key, site : !isNull( arguments.site ) ? arguments.site : javaCast( "null", "" ) } ); + var thisSetting = findWhere( { + name : key, + site : !isNull( arguments.site ) ? arguments.site : javacast( "null", "" ) + } ); // Maybe it's a new setting :) if ( isNull( thisSetting ) ) {