This commit is contained in:
NOrtmann1
2026-05-27 18:16:22 +02:00
parent f86bdfd2ea
commit b13cff14dc
+2 -2
View File
@@ -51,7 +51,7 @@ class LocalArticleManager implements ArticleManagerDAO {
public function addArticle($title, $content, $author, $category, array $tags)
{
$articles = $this->getAllArticles();
/*
$articles[] = [
"id" => count($articles)+1,
"title" => $title,
@@ -61,7 +61,7 @@ class LocalArticleManager implements ArticleManagerDAO {
"tags" => $tags,
"creationDate" => date("Y-m-d H:i:s")
];
*/
$this->saveArticle($articles[]);
}