Minor fixes

This commit is contained in:
David Bomba 2024-09-24 08:03:39 +10:00
parent 174a02b52a
commit 3dc5fb2dde

View File

@ -35,6 +35,10 @@ class TaxModel
$this->regions = $this->init(); $this->regions = $this->init();
} else { } else {
if(!$model->seller_subregion) {
$this->seller_subregion = '';
}
//@phpstan-ignore-next-line //@phpstan-ignore-next-line
foreach($model as $key => $value) { foreach($model as $key => $value) {
$this->{$key} = $value; $this->{$key} = $value;