From 5d20695dfac2e30095bf74e6f60e3e3afe85ee39 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 7 Sep 2019 22:58:48 +0300 Subject: [PATCH] refactor(core): Entries API #186 --- flextype/core/Entries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/core/Entries.php b/flextype/core/Entries.php index cd42c089..100d80ee 100755 --- a/flextype/core/Entries.php +++ b/flextype/core/Entries.php @@ -269,7 +269,7 @@ class Entries } else { // We are checking... // Whether the requested entry is a director and whether the file entry is in this directory. - if ($current_entry['type'] === 'dir' && Filesystem::has($current_entry['path'] . '/entry' . '.' . 'md')) { + if ($current_entry['type'] === 'dir' && Filesystem::has($current_entry['path'] . '/entry.md')) { // Get entry uid // 1. Remove entries path // 2. Remove left and right slashes