diff --git a/system/admin/views/edit-page.html.php b/system/admin/views/edit-page.html.php index fc09c4c..6c3da74 100644 --- a/system/admin/views/edit-page.html.php +++ b/system/admin/views/edit-page.html.php @@ -118,13 +118,13 @@ $images = get_gallery(); - - - - - + + + + + - +
diff --git a/system/includes/functions.php b/system/includes/functions.php index 495f084..da0f077 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1168,7 +1168,7 @@ function get_static_post($static = null) // Return static page. function get_static_sub_post($static, $sub_static = null) { - $sub_pages = get_static_subpages($static); + $sub_pages = array_values(get_static_subpages($static)); $tmp = array();