mirror of
https://github.com/flextype/flextype.git
synced 2025-08-10 15:14:20 +02:00
feat(fields): update and fix logic for all entries fields #563
This commit is contained in:
@@ -36,7 +36,7 @@ emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void
|
||||
|
||||
if (isset($body['options']['method']) &&
|
||||
strpos($body['options']['method'], 'fetch') !== false &&
|
||||
is_callable([content(), $body['options']['method']])) {
|
||||
is_callable([entries(), $body['options']['method']])) {
|
||||
$fetchFromCallbackMethod = $body['options']['method'];
|
||||
} else {
|
||||
$fetchFromCallbackMethod = 'fetch';
|
||||
|
Reference in New Issue
Block a user