Skip to content

Commit

Permalink
Decode the json (see #51)
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffparnitzky committed Oct 5, 2021
1 parent 11891ce commit 7dd237f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/forms/FormCalendarField.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function parse($arrAttributes=null)
$this->disabledDays = $this->getActiveDisabledDays($dateFormat);

// add the custom configuration
$this->customConfiguration = $this->dateCustomConfiguration;
$this->customConfiguration = htmlspecialchars_decode($this->dateCustomConfiguration);

return parent::parse($arrAttributes);
}
Expand Down

0 comments on commit 7dd237f

Please sign in to comment.