diff --git a/system/includes/functions.php b/system/includes/functions.php index 69223f8..fe1ff2d 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -200,7 +200,7 @@ function rebuilt_cache($type) if (is_array($tmp)) { foreach ($tmp as $file) { if(strpos($file, '/draft/') === false) { - $posts_cache_sorted[] = array_merge(pathinfo($file), ['content' => preg_replace('/\s+/', '', (file_get_contents($file)))]) + $posts_cache_sorted[] = array_merge(pathinfo($file), ['content' => preg_replace('/\s+/', '', (file_get_contents($file)))]); } } }