1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-06 13:16:45 +02:00

feat(entries): restore ability to fetch entries from root

This commit is contained in:
Awilum
2022-06-07 20:53:40 +03:00
parent c0b998b788
commit 366ff52638

View File

@@ -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');