Skip to content

Commit

Permalink
Update debug.cfm
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 12, 2024
1 parent 484bc99 commit 2213f5f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions custom/bad-cfconfig/debug.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,8 @@
}
}
if ( len( structKeyExists( logs, "err.log" ) ) ){
if ( len( logs["err.log"] ) ) {
_logger(logs["err.log"] , true);
}
if ( structKeyExists( logs, "err.log" ) && len( logs["err.log"] ?: "" ) ) {
_logger( logs[ "err.log" ] , true);
}
</cfscript>

0 comments on commit 2213f5f

Please sign in to comment.