ExcelToJson.php
[Pman.Core] / ExcelToJson.php
index e92234f..36caf46 100644 (file)
@@ -58,7 +58,7 @@ class Pman_Core_ExcelToJson extends Pman_Roo
             }
             
             if(!$header){
-               $ret[$n[0]] = $n[1];
+               $ret[preg_replace('/\s\:$/', '', $n[0])] = $n[1];
                continue;
             }