Add author column in post list

This commit is contained in:
Tony Yang
2019-06-04 14:44:53 +08:00
parent 7bf8692753
commit cb332237f8
2 changed files with 15 additions and 7 deletions

View File

@@ -84,7 +84,7 @@ if (isset($_GET['pid'])) {
foreach ($post_list as $_key => $article) {
$post = array(
'username' => $article->author,
'author' => $article->author,
'name' => $article->name,
'pid' => intval($article->pid),
'title' => $article->title,