This commit is contained in:
NOrtmann1
2026-05-27 19:35:11 +02:00
parent 86395f0727
commit 9b8f4036a9
4 changed files with 3 additions and 22 deletions
+2 -2
View File
@@ -43,13 +43,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);