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

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

This commit is contained in:
Awilum
2019-02-13 19:33:06 +03:00
parent 21d38990c1
commit 58d1bd513a

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) ? Filesystem::getTimestamp($entry_file) : ''));
$entry_cache_id = md5('entry' . $entry_file . ((Filesystem::getTimestamp($entry_file) === false) ? '' : Filesystem::getTimestamp($entry_file)));
if (Filesystem::has($entry_file)) {