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