fix: small naming fix to make writing directory README data easier
This commit is contained in:
parent
98e062611e
commit
83b849fda8
2 changed files with 7 additions and 2 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Oh, the pain
|
||||||
|
---
|
||||||
|
|
||||||
|
# AAA
|
|
@ -99,8 +99,8 @@ class PostHandler extends MySQLAdapter {
|
||||||
if(isset($post_metadata['settings'])) {
|
if(isset($post_metadata['settings'])) {
|
||||||
$readme_metadata['settings'] = $post_metadata['settings'];
|
$readme_metadata['settings'] = $post_metadata['settings'];
|
||||||
}
|
}
|
||||||
if(isset($post_metadata['directory_data'])) {
|
if(isset($post_metadata['directory'])) {
|
||||||
$readme_metadata = $post_metadata['directory_data'];
|
$readme_metadata = $post_metadata['directory'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->update_or_create_post(dirname($post_path),
|
$this->update_or_create_post(dirname($post_path),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue