mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 05:06:07 +03:00
fixes
This commit is contained in:
parent
3ede32ff51
commit
3b184b14e7
@ -343,7 +343,6 @@ class ModelRetailcrmHistory extends Model
|
||||
$data['payment_city'] = !empty($order['customer']['address']['city']) ? $order['customer']['address']['city'] : $order['delivery']['address']['city'];
|
||||
$data['payment_postcode'] = !empty($order['customer']['address']['index']) ? $order['customer']['address']['index'] : $order['delivery']['address']['index'];
|
||||
|
||||
|
||||
$region = '';
|
||||
|
||||
if (!empty($order['delivery']['address']['region']) && is_int($order['delivery']['address']['region'])) {
|
||||
|
@ -172,4 +172,3 @@ class ModelRetailcrmOrder extends Model {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -184,4 +184,3 @@ class ModelRetailcrmOrder extends Model {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
<?php
|
||||
die($_SERVER['REMOTE_ADDR']);
|
||||
echo $_SERVER['REMOTE_ADDR'];
|
||||
|
Loading…
Reference in New Issue
Block a user