saving issue with gateway while importing

This commit is contained in:
safan
2011-02-21 14:45:06 +00:00
parent 8999f3e77e
commit 9a42abaebb
5 changed files with 73 additions and 18 deletions

View File

@@ -173,7 +173,7 @@
foreach($oData->gateways as $id => $value)
{
if($value['GAT_NEXT_TASK'] != '' && $value['TAS_UID'] != ''){
if($value['GAT_NEXT_TASK'] != '' && $value['TAS_UID'] != '' && $value['GAT_TYPE'] != ''){
$fields['GATEWAYS'][$countGateway]['0'] = $value['GAT_UID'];
$fields['GATEWAYS'][$countGateway]['1'] = $value['GAT_TYPE'];
$fields['GATEWAYS'][$countGateway]['2'] = $value['GAT_X'];