mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 14:16:46 +02:00
feat(fields): fix wrong RegistyField
logic for dump
This commit is contained in:
@@ -38,7 +38,7 @@ emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void
|
||||
|
||||
$result = collection($original['result'])->merge($data)->toArray();
|
||||
|
||||
if (boolval(entries()->registry()->get('methods.fetch.collection.fields.entries.dump')) === false) {
|
||||
if (boolval(entries()->registry()->get('methods.fetch.collection.fields.registry.dump')) === false) {
|
||||
unset($result['registry']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user