1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 10:51:21 +02:00

feat(admin-plugin): fix notice for EntriesController #211

This commit is contained in:
Awilum
2020-02-06 17:04:44 +03:00
parent e72c761fc3
commit 3932f66feb

View File

@@ -91,7 +91,7 @@ class EntriesController extends Controller
$entry_current = $this->entries->fetch($this->getEntryID($query));
if ($entry_current['items_view'] != '') {
if (isset($entry_current['items_view'])) {
$items_view = $entry_current['items_view'];
} else {
$items_view = $this->registry->get('settings.entries.items_view_default');
@@ -114,7 +114,7 @@ class EntriesController extends Controller
'entries' => [
'link' => $this->router->pathFor('admin.entries.index'),
'title' => __('admin_entries'),
active => true
'active' => true
]
],
'buttons' => [