projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9a946
)
Import/Enum.php
author
Alan Knowles
<alan@roojs.com>
Thu, 5 Feb 2015 05:39:07 +0000
(13:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 5 Feb 2015 05:39:07 +0000
(13:39 +0800)
Import/Enum.php
patch
|
blob
|
history
diff --git
a/Import/Enum.php
b/Import/Enum.php
index
205ffec
..
9c37830
100644
(file)
--- a/
Import/Enum.php
+++ b/
Import/Enum.php
@@
-54,6
+54,9
@@
class Pman_Admin_Import_Enum extends Pman_Roo
$this->jerr('Invalid etype');
}
+
+
+
$fh = fopen($csv, 'r');
if (!$fh) {
$this->jerr("invalid file");
@@
-91,6
+94,8
@@
class Pman_Admin_Import_Enum extends Pman_Roo
$rows[] = $row;
}
+ print_r($rows);exit;
+
if (empty($cols)) {
$this->jerr("could not find a row with " . implode(' / ', $req));
}