ExcelToJson.php
authorEdward <edward@roojs.com>
Mon, 18 Mar 2013 03:21:24 +0000 (11:21 +0800)
committerEdward <edward@roojs.com>
Mon, 18 Mar 2013 03:21:24 +0000 (11:21 +0800)
ExcelToJson.php

index 0be313b..c4bf245 100644 (file)
@@ -57,7 +57,7 @@ class Pman_Core_ExcelToJson extends Pman_Roo
             }
             
             if(!$header){
-               $rows[$n[0]] = $n[1];
+               $rows[strtoupper($n[0])] = $n[1];
                continue;
             }