diff --git a/webseite/subjectEditor.php b/webseite/subjectEditor.php
index 448da70..c02230c 100644
--- a/webseite/subjectEditor.php
+++ b/webseite/subjectEditor.php
@@ -15,8 +15,8 @@ $defaultValues['icon'] = "";
$errors = array();
-if (isset($_GET['subjectId'])) {
- $editingSubject = $allSubjects[$_GET['subjectId']];
+if (isset($_GET['subject'])) {
+ $editingSubject = $allSubjects[$_GET['subject']];
$defaultValues['displayName'] = $editingSubject->getDisplayName();
$defaultValues['id'] = $editingSubject->getId();
diff --git a/webseite/topic.php b/webseite/topic.php
index aeced09..e7b3ff3 100644
--- a/webseite/topic.php
+++ b/webseite/topic.php
@@ -36,12 +36,17 @@ if (!isset($topicData)) {
-
-
-
+
+
+
@@ -167,6 +172,17 @@ if (!isset($topicData)) {
+isLoggedIn()) {
+ ?>
+
+ ✎
+
+
+