Skip to content

Commit c4b5716

Browse files
committed
Update admin.php
1 parent d4a0444 commit c4b5716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/admin/admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ function add_sub_page($title, $url, $content, $static, $draft, $description = nu
631631
$post_description = "";
632632
}
633633

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

0 commit comments

Comments
 (0)