diff --git a/wire/core/Page.php b/wire/core/Page.php index 4c300792..c978adb4 100644 --- a/wire/core/Page.php +++ b/wire/core/Page.php @@ -974,6 +974,7 @@ class Page extends WireData implements \Countable, WireMatchable { if($this->lazyLoad && $key !== 'id' && is_int($this->lazyLoad)) $this->_lazy(true); if(is_array($key)) $key = implode('|', $key); + if(empty($key)) return null; if(isset(PageProperties::$basePropertiesAlternates[$key])) { $key = PageProperties::$basePropertiesAlternates[$key]; }