This PR fixes a bug which prevented changes in the DtD "Enabled/Disabled" form setting from being reflected on the frontend. Previously, the logic used to render the DtD fields was checking for a boolean, when the meta field is instead stored as a string (enabled or disabled).
Affects
This PR affects logic in the DonationForm class, used to determine whether or not the DtD field should be rendered on the frontend.
Pre-review Checklist
[x] Acceptance criteria satisfied and marked in related issue
[x] Relevant @since tags included in DocBlocks
[x] Changes logged to the Unreleased section of CHANGELOG.md
Resolves #4
Description
This PR fixes a bug which prevented changes in the DtD "Enabled/Disabled" form setting from being reflected on the frontend. Previously, the logic used to render the DtD fields was checking for a boolean, when the meta field is instead stored as a string (
enabled
ordisabled
).Affects
This PR affects logic in the DonationForm class, used to determine whether or not the DtD field should be rendered on the frontend.
Pre-review Checklist
@since
tags included in DocBlocksUnreleased
section ofCHANGELOG.md
Testing Instructions