mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 03:56:21 +05:30
Update admin.php
This commit is contained in:
parent
d4a0444b17
commit
c4b57162e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue