projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
97008c4
)
Import/Enum.php
author
Alan Knowles
<alan@roojs.com>
Thu, 5 Feb 2015 05:39:55 +0000
(13:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 5 Feb 2015 05:39:55 +0000
(13:39 +0800)
Import/Enum.php
patch
|
blob
|
history
diff --git
a/Import/Enum.php
b/Import/Enum.php
index
9c37830
..
7474dd0
100644
(file)
--- a/
Import/Enum.php
+++ b/
Import/Enum.php
@@
-94,7
+94,7
@@
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));
@@
-106,6
+106,7
@@
class Pman_Admin_Import_Enum extends Pman_Roo
foreach ($rows as $row){
$e = DB_DataObject::factory('core_enum');
+ $e->etype = $_REQUEST['etype'];
if($e->get('name', $row['NAME'])){
continue;
}