diff --git a/src/flextype/core/Parsers/Shortcodes/FetchShortcode.php b/src/flextype/core/Parsers/Shortcodes/FetchShortcode.php index af878e74..a1b55aa0 100644 --- a/src/flextype/core/Parsers/Shortcodes/FetchShortcode.php +++ b/src/flextype/core/Parsers/Shortcodes/FetchShortcode.php @@ -66,7 +66,7 @@ parsers()->shortcodes()->addHandler('fetch', static function (ShortcodeInterface })->undot()->toArray(); // Backup current entry data - $original = entries()->registry()['methods.fetch']; + $original = entries()->registry()->get('methods.fetch'); // Do fetch the data from the resource. $result = fetch($resource, $options);