projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65f99c
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 08:56:02 +0000
(16:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 08:56:02 +0000
(16:56 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
d69d0ea
..
efb13fe
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-512,7
+512,7
@@
class Pman_Core_UpdateDatabase extends Pman
}
$type = str_replace('_', '-', substr($o,6));
$data= json_decode(file_get_contents($file),true);
- DB_DataObject::factory($type)->importFromArray($
data
);
+ DB_DataObject::factory($type)->importFromArray($
this,$data,$opts
);
}