From 366ff52638e85fa08531a707f5080464c4cb59ba Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 7 Jun 2022 20:53:40 +0300 Subject: [PATCH] feat(entries): restore ability to fetch entries from root --- src/flextype/core/Entries/Entries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/core/Entries/Entries.php b/src/flextype/core/Entries/Entries.php index c44e45e8..10d4dddf 100755 --- a/src/flextype/core/Entries/Entries.php +++ b/src/flextype/core/Entries/Entries.php @@ -474,7 +474,7 @@ class Entries } // Determine if collection exists - if (! $this->has($this->registry()->get('methods.fetch.params.id'))) { + if (! $this->has($this->registry()->get('methods.fetch.params.id')) && $this->registry()->get('methods.fetch.params.id') != '') { // Run event emitter()->emit('onEntriesFetchCollectionNoResult');