Update admin.php

This commit is contained in:
danpros 2024-10-12 16:26:51 +07:00
commit c4b57162e2

View file

@ -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']);