From c2607c02328b0b5c2bf2a5e5176728e88c69dddf Mon Sep 17 00:00:00 2001 From: pRose on charmes Date: Thu, 4 Apr 2024 08:19:41 -0700 Subject: [PATCH] fix admin newsletter selection fixes #6372 --- admin/customers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/customers.php b/admin/customers.php index 74ce585f8a..fae49c6252 100644 --- a/admin/customers.php +++ b/admin/customers.php @@ -986,7 +986,7 @@ function check_form() {
customers_newsletter === '1') { + if ($cInfo->customers_newsletter === 1) { echo ENTRY_NEWSLETTER_YES; } else { echo ENTRY_NEWSLETTER_NO; @@ -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"' ); }