Fix bug on content cache creation process

This commit is contained in:
Bofh 2022-12-06 15:31:16 +01:00
parent 0e6aa33f8a
commit 806c5eac1e
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ function content_cache__put($key, $config, $data) {
if ($ps[0] === 'always') if ($ps[0] === 'always')
$cache_file .= ','.$ps[0]; $cache_file .= ','.$ps[0];
else if ($ps[0] === 'ondemand') else if ($ps[0] === 'ondemand')
$cache_file .= $config; $cache_file .= ','.$config;
file_put_contents($cache_file, serialize($data)); file_put_contents($cache_file, serialize($data));
} }