Browse Source

Update functions.php

pull/674/head
danpros 1 year ago
parent
commit
3d8b037169
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      system/includes/functions.php

+ 2
- 2
system/includes/functions.php View File

@ -131,8 +131,8 @@ function get_draft_subpages($static = null)
if ($static != null) {
$stringLen = strlen($static);
return array_filter($_draftSubpage, function ($sub_page) use ($static, $stringLen) {
$x = str_replace('content/static/', '', $sub_page['dirname']);
$y = explode('.', $x);
$x = explode('/', $sub_page['dirname']);
$y = explode('.', $x[2]);
if (isset($y[1])) {
$z = $y[1];
} else {


Loading…
Cancel
Save