|
@@ -1419,7 +1419,7 @@ class ImportService extends Service
|
|
|
foreach ($value as $k => $v){
|
|
|
$value[$k] = trim($v);
|
|
|
}
|
|
|
- if($shop_name && ! in_array($value[0],$shop_name)) $shop_name[] = $value[0];
|
|
|
+ if($value[0] && ! in_array($value[0],$shop_name)) $shop_name[] = $value[0];
|
|
|
if(! in_array($value[1],$product_code)) {
|
|
|
$product_code[] = $value[1];
|
|
|
}else{
|