Skip to content

Commit

Permalink
fix admin newsletter selection fixes zencart#6372
Browse files Browse the repository at this point in the history
  • Loading branch information
proseLA committed Apr 4, 2024
1 parent 19994ac commit c2607c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ function check_form() {
<div class="col-sm-9 col-md-6">
<?php
if ($processed === true) {
if ($cInfo->customers_newsletter === '1') {
if ($cInfo->customers_newsletter === 1) {
echo ENTRY_NEWSLETTER_YES;
} else {
echo ENTRY_NEWSLETTER_NO;
Expand All @@ -996,7 +996,7 @@ function check_form() {
echo zen_draw_pull_down_menu(
'customers_newsletter',
$newsletter_array,
($cInfo->customers_newsletter === '1') ? '1' : '0',
($cInfo->customers_newsletter === 1) ? 1 : 0,
'class="form-control" id="customers_newsletter"'
);
}
Expand Down

0 comments on commit c2607c0

Please sign in to comment.