projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Process/Php7.php
[Pman.Core]
/
ExcelToJson.php
diff --git
a/ExcelToJson.php
b/ExcelToJson.php
index
a88bf18
..
e981d32
100644
(file)
--- a/
ExcelToJson.php
+++ b/
ExcelToJson.php
@@
-12,7
+12,7
@@
class Pman_Core_ExcelToJson extends Pman_Roo
return parent::getAuth();
}
return parent::getAuth();
}
- function post()
+ function post(
$v
)
{
$this->transObj = DB_DataObject::Factory('invhist_transfer');
{
$this->transObj = DB_DataObject::Factory('invhist_transfer');
@@
-29,10
+29,8
@@
class Pman_Core_ExcelToJson extends Pman_Roo
require_once 'File/Convert.php';
$fc = new File_Convert($img->getStoreName(), $img->mimetype );
require_once 'File/Convert.php';
$fc = new File_Convert($img->getStoreName(), $img->mimetype );
- $fc->debug=1;
- $csv = $fc->convert('text/csv');
-
- $ret = $this->importCsv($csv);
+ $csv = $fc->convert('text/csv');
+ $ret = $this->importCsv($csv);