Skip to content

Commit

Permalink
htmlentity quote was messing with json_decode closes #1384 (#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
MuchQuak authored Jun 10, 2024
1 parent 215917a commit 53c592a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checklists/checklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
$showDetails = 0;
if(isset($clArray['defaultSettings'])){
try {
$defaultArr = json_decode($clArray['defaultSettings'], true, $depth=512, JSON_THROW_ON_ERROR);
$defaultArr = json_decode(stripslashes(html_entity_decode($clArray['defaultSettings'])), true, $depth=512, JSON_THROW_ON_ERROR);
}
catch (Exception $e){
$statusStr = $e->getMessage();
Expand Down

0 comments on commit 53c592a

Please sign in to comment.