mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 18:30:20 +02:00
System Plugin: set default page - updates
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
|
||||
// Get all pages
|
||||
$pages_array = array();
|
||||
$pages_list = $pages->select('[slug!="error404" and parent=""]');
|
||||
$pages_list = $pages->select('[slug!="error404" and parent="" and status="published" and access="public"]');
|
||||
foreach ($pages_list as $page) {
|
||||
$pages_array[$page['slug']] = Html::toText($page['title']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user