Skip to content

Commit

Permalink
fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaguiar committed May 17, 2024
1 parent 1683268 commit 370d560
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/oafp.source.js.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ if (isUnDef(params) || isDef(params.____ojob)) return

// Ensure params are interpreted as lower case
Object.keys(params).forEach(pk => {
var npk = pk.toLowerCase()
if (pk != npk && isUnDef(params[npk])) {
params[npk] = params[pk]
delete params[pk]
if (params[pk].length > 0) {
var npk = pk.toLowerCase()
if (pk != npk && isUnDef(params[npk])) {
params[npk] = params[pk]
delete params[pk]
}
}
})

Expand Down

0 comments on commit 370d560

Please sign in to comment.