1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 23:54:06 +02:00

Flextype Core: Entries - method fetch() - improvements.

This commit is contained in:
Awilum
2019-02-13 19:27:31 +03:00
parent 5ad80dd3bc
commit 21d38990c1

View File

@@ -292,7 +292,7 @@ class Entries
{
$entry_file = PATH['entries'] . '/' . $entry . '/entry.html';
$entry_cache_id = md5('entry' . $entry_file . Filesystem::getTimestamp($entry_file));
$entry_cache_id = md5('entry' . $entry_file . (Filesystem::getTimestamp($entry_file) ? Filesystem::getTimestamp($entry_file) : ''));
if (Filesystem::has($entry_file)) {