Little bug fix

This commit is contained in:
Bofh 2022-12-03 17:05:38 +01:00
parent adeccbc4f1
commit d8d2e39a74
1 changed files with 2 additions and 1 deletions

View File

@ -292,6 +292,7 @@ function content_cache__exists($key) {
$cache_file = $cache_dir.'/'.$fil;
$ps = explode(',',$fil);
array_splice($ps, 0, 1);
if ($ps[0] !== 'always' && count($ps) > 1)
$ps[1] = intval($ps[1]);
return (object)[
'file' => $cache_file,