testing
This commit is contained in:
@@ -44,13 +44,13 @@ class LocalArticleManager implements ArticleManagerDAO {
|
||||
$articles = $this->getAllArticles();
|
||||
|
||||
$articles[] = [
|
||||
"id" => count($articles)+1,
|
||||
//"id" => count($articles)+1,
|
||||
"title" => $title,
|
||||
"content" => $content,
|
||||
"author" => $author,
|
||||
"category" => $category,
|
||||
"tags" => $tags,
|
||||
"creationDate" => date("Y-m-d H:i:s")
|
||||
//"creationDate" => date("Y-m-d H:i:s")
|
||||
];
|
||||
|
||||
$this->saveArticle($articles);
|
||||
|
||||
Reference in New Issue
Block a user