projects
/
WP-Plugins
/
glm-wp-importer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588d206
)
update for if no subpages for int value af include pages
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 23 Jul 2015 14:53:58 +0000
(10:53 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 23 Jul 2015 14:53:58 +0000
(10:53 -0400)
controllers/Import.php
patch
|
blob
|
history
diff --git
a/controllers/Import.php
b/controllers/Import.php
index
b2a38aa
..
c60c7ce
100644
(file)
--- a/
controllers/Import.php
+++ b/
controllers/Import.php
@@
-421,7
+421,9
@@
if (!empty($subPageIds)) {
$where[] = "(id = {$this->_options['include_pages']}"
. " OR id IN (" . implode(',', $subPageIds) . ") )";
- }
+ } else {
+ $where[] = "id = {$this->_options['include_pages']}";
+ }
} else {
$where[] = "id IN ({$this->_options['include_pages']})";