1
0
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:
Awilum
2022-04-07 14:50:48 +03:00
parent c873cb6d17
commit c7b605fe6c

View File

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