update for if no subpages for int value af include pages
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 23 Jul 2015 14:53:58 +0000 (10:53 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 23 Jul 2015 14:53:58 +0000 (10:53 -0400)
controllers/Import.php

index b2a38aa..c60c7ce 100644 (file)
                     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']})";