Beitrag erstellen #13

Merged
niklas.ortmann merged 164 commits from Beitrag-erstellen into dev 2026-05-29 13:22:11 +02:00
Showing only changes of commit b13cff14dc - Show all commits
+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[]);
}