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

Admin Panel: Settings Manager - using new Entries::fetchAll() method.

This commit is contained in:
Awilum
2019-02-13 23:38:35 +03:00
parent 7339ec7b89
commit c68db128e4

View File

@@ -63,7 +63,7 @@ class SettingsManager
$entries = [];
foreach (Entries::getEntries('', 'date', 'DESC') as $entry) {
foreach (Entries::fetchAll('', 'date', 'DESC') as $entry) {
$entries[$entry['slug']] = $entry['title'];
}