Skip to content

Commit

Permalink
Prevent notice on customers_fax field
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcwilson committed Jun 24, 2020
1 parent 9d7cad9 commit 4088a02
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion admin/customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@
$customers_lastname = zen_db_prepare_input(zen_sanitize_string($_POST['customers_lastname']));
$customers_email_address = zen_db_prepare_input($_POST['customers_email_address']);
$customers_telephone = zen_db_prepare_input($_POST['customers_telephone']);
$customers_fax = zen_db_prepare_input($_POST['customers_fax']);
if (ACCOUNT_FAX_NUMBER == 'true') {
$customers_fax = zen_db_prepare_input($_POST['customers_fax']);
} else {
$customers_fax = '';
}
$customers_newsletter = zen_db_prepare_input($_POST['customers_newsletter']);
$customers_group_pricing = (int)zen_db_prepare_input($_POST['customers_group_pricing']);
$customers_email_format = zen_db_prepare_input($_POST['customers_email_format']);
Expand Down

0 comments on commit 4088a02

Please sign in to comment.