This commit is contained in:
dkorol 2016-04-15 12:15:57 +03:00
parent 3ede32ff51
commit 3b184b14e7
4 changed files with 1 additions and 4 deletions

View File

@ -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_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']; $data['payment_postcode'] = !empty($order['customer']['address']['index']) ? $order['customer']['address']['index'] : $order['delivery']['address']['index'];
$region = ''; $region = '';
if (!empty($order['delivery']['address']['region']) && is_int($order['delivery']['address']['region'])) { if (!empty($order['delivery']['address']['region']) && is_int($order['delivery']['address']['region'])) {

View File

@ -172,4 +172,3 @@ class ModelRetailcrmOrder extends Model {
} }
} }
} }

View File

@ -184,4 +184,3 @@ class ModelRetailcrmOrder extends Model {
} }
} }
} }

View File

@ -1,2 +1,2 @@
<?php <?php
die($_SERVER['REMOTE_ADDR']); echo $_SERVER['REMOTE_ADDR'];