debugging

This commit is contained in:
2026-05-29 11:01:55 +02:00
parent fe703d4e89
commit 332507d433
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ try {
"Mathe",
"Dreiecke, Dreiecksseiten berechnen"
);
/*
$articleManager->addArticle(
"Tunneleffekt",
"Der Tunneleffekt ist ein quantenmechanisches Phänomen, bei dem Teilchen...",
@@ -30,7 +30,7 @@ try {
"max.mustermann",
"Informatik",
"Daten, DSGVO"
);
);*/
// Beziehen der Dummy-Beiträge aus dem ArticleManager:
$dummy1 = $articleManager->getArticle(1);
$dummy2 = $articleManager->getArticle(2);
+1 -1
View File
@@ -50,7 +50,7 @@ class LocalArticleManager implements ArticleManagerDAO {
$articles = $this->getAllArticles();
$articles[] = [
"id" => count($articles)+1,
"id" => 1, //count($articles)+1,
"title" => $title,
"content" => $content,
"author" => $author,