Falsche Standardauswahl des Faches beim Erstellen eines neuen Themas behoben

This commit is contained in:
Matthias Grief
2025-01-07 10:26:59 +01:00
parent 5b499b2948
commit e8315d1019

View File

@@ -52,8 +52,8 @@ if (isset($_GET['subject']) && isset($_GET['topic'])) {
$defaultValues['formulas'] = implode(";;;;", $tasks);
$defaultValues['article'] = $editingTopic->getFinishedArticle();
}
} else if (isset($_GET['subjectId'])) {
$defaultValues['subjectId'] = $_GET['subjectId'];
} else if (isset($_GET['subject'])) {
$defaultValues['subjectId'] = $_GET['subject'];
}
if ($_SERVER['REQUEST_METHOD'] == 'POST') {