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:
@@ -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)) {
|
||||
|
||||
|
Reference in New Issue
Block a user