Little bug fix
This commit is contained in:
parent
adeccbc4f1
commit
d8d2e39a74
3
base.php
3
base.php
|
@ -292,7 +292,8 @@ function content_cache__exists($key) {
|
|||
$cache_file = $cache_dir.'/'.$fil;
|
||||
$ps = explode(',',$fil);
|
||||
array_splice($ps, 0, 1);
|
||||
$ps[1] = intval($ps[1]);
|
||||
if ($ps[0] !== 'always' && count($ps) > 1)
|
||||
$ps[1] = intval($ps[1]);
|
||||
return (object)[
|
||||
'file' => $cache_file,
|
||||
'config' => $ps
|
||||
|
|
Loading…
Reference in New Issue