diff --git a/wire/core/PageFinder.php b/wire/core/PageFinder.php index 9303b3a7..2f082d2e 100644 --- a/wire/core/PageFinder.php +++ b/wire/core/PageFinder.php @@ -783,9 +783,8 @@ class PageFinder extends Wire { public function ___find($selectors, array $options = array()) { if(is_string($selectors) || is_array($selectors)) { - $selectors = new Selectors(); - $this->wire($selectors); - $selectors->init($selectors); + list($s, $selectors) = array($selectors, $this->wire(new Selectors())); + $selectors->init($s); } else if(!$selectors instanceof Selectors) { throw new PageFinderException("find() requires Selectors object, string or array"); }