From ac8ecc29ff713e8d06ce2f28da625f153451e682 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 21 Nov 2012 22:47:08 +0200 Subject: [PATCH] Pages Plugin: frontend fixes --- plugins/box/pages/pages.plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/box/pages/pages.plugin.php b/plugins/box/pages/pages.plugin.php index e92e887..19cf0b2 100644 --- a/plugins/box/pages/pages.plugin.php +++ b/plugins/box/pages/pages.plugin.php @@ -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 = '';