]> _ Git - cubist_cms-back.git/commitdiff
wip #5430
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 6 Sep 2022 13:10:18 +0000 (15:10 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 6 Sep 2022 13:10:18 +0000 (15:10 +0200)
src/app/Magic/Fields/Model.php

index e4686acf88b10f7f9397eafb0235729ae0533eb6..8a606e5bb9a6949ddc0fef51c69ea2f73803d4ad 100644 (file)
@@ -57,6 +57,7 @@ class Model extends Field
             };
             $ttl = 86400;
             $cache = cache()->tags([$tag]);
+
             if ($force) {
                 static::$_options[$globalCacheKey] = $closure->call();
                 $cache->put($globalCacheKey, $ttl, static::$_options[$globalCacheKey]);