mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 14:16:46 +02:00
fix(entries-fields): fix issue with undefined $data variable in EntriesField #528
This commit is contained in:
@@ -14,6 +14,7 @@ if (flextype('registry')->get('flextype.settings.entries.fields.entries.fetch.en
|
||||
if (flextype('entries')->hasStorage('fetch.data.entries.fetch')) {
|
||||
// Get fetch.
|
||||
$original = flextype('entries')->getStorage('fetch');
|
||||
$data = [];
|
||||
|
||||
switch (flextype('registry')->get('flextype.settings.entries.fields.entries.fetch.result')) {
|
||||
case 'toArray':
|
||||
|
Reference in New Issue
Block a user