mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 12:17:42 +02:00
Pages Plugin: frontend fixes
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
$current_page['access'] = (isset($current_page['access'])) ? $current_page['access'] : 'public' ;
|
||||
|
||||
if (count($current_page) != 0) {
|
||||
if ($current_page['parent'] != '') {
|
||||
if ( ! empty($current_page['parent'])) {
|
||||
$c_p = $current_page['parent'];
|
||||
} else {
|
||||
$c_p = '';
|
||||
|
Reference in New Issue
Block a user