added check for same owner/billing address id in billingaddress update
script
This commit is contained in:
@@ -21,6 +21,10 @@ foreach(OrderModel::getAll() as $order) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if($order->billingaddress_id == $order->owner_id) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$data['address_id'] = $order->billingaddress_id;
|
||||
$data['origin_address_id'] = $order->owner_id;
|
||||
$data['type'] = "billing";
|
||||
|
||||
Reference in New Issue
Block a user