From 3dc5fb2ddee54b3d556bdd17ff27decccfd620c4 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 24 Sep 2024 08:03:39 +1000 Subject: [PATCH] Minor fixes --- app/DataMapper/Tax/TaxModel.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/DataMapper/Tax/TaxModel.php b/app/DataMapper/Tax/TaxModel.php index 42d027adf99e..cbddf270c536 100644 --- a/app/DataMapper/Tax/TaxModel.php +++ b/app/DataMapper/Tax/TaxModel.php @@ -35,6 +35,10 @@ class TaxModel $this->regions = $this->init(); } else { + if(!$model->seller_subregion) { + $this->seller_subregion = ''; + } + //@phpstan-ignore-next-line foreach($model as $key => $value) { $this->{$key} = $value;