diff --git a/wire/core/PagesRaw.php b/wire/core/PagesRaw.php index fbd480cb..d15b8f75 100644 --- a/wire/core/PagesRaw.php +++ b/wire/core/PagesRaw.php @@ -781,6 +781,8 @@ class PagesRawFinder extends Wire { $templatesById = array(); $getPaths = $this->getPaths; + if(empty($this->selector)) return; + foreach($this->findIDs($this->selector, '*') as $row) { $id = (int) $row['id']; $this->ids[$id] = $id;