diff --git a/src/flextype/core/Entries/Entries.php b/src/flextype/core/Entries/Entries.php index 2a389d0e..1811e8ae 100755 --- a/src/flextype/core/Entries/Entries.php +++ b/src/flextype/core/Entries/Entries.php @@ -262,7 +262,7 @@ class Entries // Create entries array from entries list and ignore current requested entry foreach ($entries_list as $current_entry) { - if (strpos($current_entry['path'], $bind_id . '/entry' . '.' . $this->flextype->registry->get('flextype.settings.entries.extension')) !== false) { + if (strpos($current_entry['path'], $path . '/entry' . '.' . $this->flextype->registry->get('flextype.settings.entries.extension')) !== false) { // ignore ... } else { // We are checking... @@ -276,9 +276,6 @@ class Entries // For each founded entry we should create $entries array. $entry = $this->fetch($uid); - // Flatten a multi-dimensional entries array with dots. - $entry = Arr::dot($entry); - // Add entry into the entries $entries[$uid] = $entry; }