Import/WayBill.php
authorEdward <edward@roojs.com>
Fri, 24 Jan 2014 04:27:32 +0000 (12:27 +0800)
committerEdward <edward@roojs.com>
Fri, 24 Jan 2014 04:27:32 +0000 (12:27 +0800)
Import/WayBill.php

index e1ecd94..21fc7e2 100644 (file)
@@ -65,6 +65,9 @@ class Pman_Xtuple_Import_WayBill extends Pman_Roo
             if (!$cols) {
                 $cols = array();
                 foreach($n as $k) {
+                    if(empty($k)){
+                        continue;
+                    }
                     $cols[] = strtoupper(trim($k));
                 }