Skip to content

Commit

Permalink
Fixed bug in bool checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Moffat authored and Mark Moffat committed Apr 15, 2020
1 parent 512fb48 commit 992465e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ const checkboxBool = (param) => {
if(param && param === 'on'){
return true;
}
if(param && param === 'true'){
return true;
}
return false;
};

Expand Down

0 comments on commit 992465e

Please sign in to comment.