diff --git a/web/app/controllers/problem_solutions.php b/web/app/controllers/problem_solutions.php
index 8a6fe69..3d8c640 100644
--- a/web/app/controllers/problem_solutions.php
+++ b/web/app/controllers/problem_solutions.php
@@ -267,6 +267,11 @@ EOD;
printHTML(); ?>
+
diff --git a/web/app/controllers/subdomain/blog/blog_write.php b/web/app/controllers/subdomain/blog/blog_write.php
index f1b2239..66ea093 100644
--- a/web/app/controllers/subdomain/blog/blog_write.php
+++ b/web/app/controllers/subdomain/blog/blog_write.php
@@ -26,11 +26,11 @@
);
} else {
$blog_editor->cur_data = array(
- 'title' => '新博客',
+ 'title' => $_GET['title'] ?: '新博客',
'content_md' => '',
'content' => '',
'tags' => array(),
- 'is_hidden' => true
+ 'is_hidden' => isset($_GET['is_hidden']) ? $_GET['is_hidden'] : true,
);
}
if ($blog) {