Skip to content

Commit

Permalink
Merge pull request #33 from angelleye/PFWMA-92
Browse files Browse the repository at this point in the history
Buyer country Field Value Empty on edit, PFWMA-92
  • Loading branch information
kcppdevelopers authored Dec 27, 2019
2 parents 184e831 + 2062a5c commit 216245d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public function angelleye_display_multi_account_list() {
$option_seven = '<p class="description">' . __('Buyer country', 'paypal-for-woocommerce-multi-account-management') . '</p>';
$option_seven .= '<select id="buyer_countries" name="buyer_countries[]" style="width: 78%;" class="wc-enhanced-select" multiple="multiple" data-placeholder="' . __("All countries", "woocommerce") . '">';
$countries = WC()->countries->get_countries();
if(isset($buyer_countries)) {
if(!isset($buyer_countries)) {
$buyer_countries = array();
}
if ($countries) {
Expand Down

0 comments on commit 216245d

Please sign in to comment.