From 117645919a8838cb5d5e46fc9fdb0524e821cea7 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 23 Jul 2015 10:53:58 -0400 Subject: [PATCH] update for if no subpages for int value af include pages --- controllers/Import.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/Import.php b/controllers/Import.php index b2a38aa..c60c7ce 100644 --- 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']})"; -- 2.17.1