Skip to content

Commit

Permalink
Update admin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Oct 12, 2024
1 parent d4a0444 commit c4b5716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ function add_sub_page($title, $url, $content, $static, $draft, $description = nu
$post_description = "";
}

$posts = get_static_subpages();
$posts = get_static_subpages($post['current']->slug);
$timestamp = date('YmdHis');
foreach ($posts as $index => $v) {
$m_url = explode('.', $v['filename']);
Expand Down

0 comments on commit c4b5716

Please sign in to comment.