projects
/
Pman.Cms
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow empty 'elements' from input data
[Pman.Cms]
/
Import
/
Pages.php
diff --git
a/Import/Pages.php
b/Import/Pages.php
index
3712d38
..
de48c68
100644
(file)
--- a/
Import/Pages.php
+++ b/
Import/Pages.php
@@
-206,7
+206,8
@@
class Pman_Cms_Import_Pages extends Pman
$this->mapping['elements'] = array();
if(empty($this->data['elements'])){
- $this->jerr('Invalid Json Data [elements]');
+ return;
+ // $this->jerr('Invalid Json Data [elements]');
}
foreach ($this->data['elements'] as $k => $v){