Bläddra i källkod

导入产品地区

afa 9 månader sedan
förälder
incheckning
33d314ee08
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      application/admin/controller/product/Lists.php

+ 1 - 1
application/admin/controller/product/Lists.php

@@ -253,7 +253,7 @@ class Lists extends Backend
                     $val = $currentSheet->getCellByColumnAndRow($currentColumn, $currentRow)->getValue();
                     $values[] = is_null($val) ? '' : $val;
                 }
-                if(empty($values)) continue;
+                if(empty(array_filter($values))) continue;
                 $field =  implode('-', $values);
                 $row = $importregion::where('name', $field)->find();
                 if(!empty($row)){