mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 14:16:46 +02:00
fix(entries): fix issue with individual entries cache field #537
This commit is contained in:
@@ -123,10 +123,11 @@ class Entries
|
||||
|
||||
// Apply filter for fetch data
|
||||
$this->storage()->set('fetch.data', filter($this->storage()->get('fetch.data'),
|
||||
$this->storage()->get('fetch.options.filter', [])));
|
||||
$this->storage()->get('fetch.options.filter', [])));
|
||||
|
||||
// Set cache state
|
||||
$cache = $this->storage()->get('fetch.data.cache', flextype('registry')->get('flextype.settings.cache.enabled'));
|
||||
$cache = $this->storage()->get('fetch.data.cache.enabled',
|
||||
flextype('registry')->get('flextype.settings.cache.enabled'));
|
||||
|
||||
// Save entry data to cache
|
||||
if ($cache) {
|
||||
|
Reference in New Issue
Block a user