feat: ✨ add implicit README settings to directory settings copy
This commit is contained in:
parent
d2dc57a36a
commit
b552562f31
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ class PostHandler extends MySQLAdapter {
|
|||
if(isset($post_metadata['directory_data'])) {
|
||||
$readme_metadata = $post_metadata['directory_data'];
|
||||
}
|
||||
if(isset($post_metadata['settings'])) {
|
||||
$readme_metadata['settings'] = $post_metadata['settings'];
|
||||
}
|
||||
|
||||
$this->update_or_create_post(dirname($post_path),
|
||||
$readme_metadata, $post_content);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue