mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 11:26:37 -04:00
Fix bug where newsletter subscribers couldn't uncheck an option
This commit is contained in:
parent
ed4ef9c646
commit
69df5ac43a
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ try{
|
|||
$subscriber->FirstName = HttpInput::Str(POST, 'firstname', false);
|
||||
$subscriber->LastName = HttpInput::Str(POST, 'lastname', false);
|
||||
$subscriber->Email = HttpInput::Str(POST, 'email', false);
|
||||
$subscriber->IsSubscribedToNewsletter = HttpInput::Bool(POST, 'newsletter');
|
||||
$subscriber->IsSubscribedToSummary = HttpInput::Bool(POST, 'monthlysummary');
|
||||
$subscriber->IsSubscribedToNewsletter = HttpInput::Bool(POST, 'newsletter', false);
|
||||
$subscriber->IsSubscribedToSummary = HttpInput::Bool(POST, 'monthlysummary', false);
|
||||
|
||||
$captcha = $_SESSION['captcha'] ?? null;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue