1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-04 20:27:40 +02:00

Pages Plugin: frontend fixes

This commit is contained in:
Awilum
2012-11-21 22:47:08 +02:00
parent 4fb14cf9bf
commit ac8ecc29ff

View File

@@ -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 = '';