summaryrefslogtreecommitdiff
path: root/intern.gospeladlershof.de/code
diff options
context:
space:
mode:
authorHorus2016-12-02 20:10:29 +0100
committerHorus2016-12-02 20:10:29 +0100
commit98ab1c8d95ae2fd4e07de366029a8cb224bcfe34 (patch)
tree918855166c779e05c9986cef8d802ae661bc37f5 /intern.gospeladlershof.de/code
parentcbc20d51ce2db57837d47faf320396c75281c91f (diff)
downloadgospeladlershof.de-98ab1c8d95ae2fd4e07de366029a8cb224bcfe34.tar.gz
Bugfix
Diffstat (limited to 'intern.gospeladlershof.de/code')
-rw-r--r--intern.gospeladlershof.de/code/chor/update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern.gospeladlershof.de/code/chor/update.php b/intern.gospeladlershof.de/code/chor/update.php
index a781835..f3ac83f 100644
--- a/intern.gospeladlershof.de/code/chor/update.php
+++ b/intern.gospeladlershof.de/code/chor/update.php
@@ -6,7 +6,7 @@ require_once __DIR__ . '/../session.php';
$db = get_db();
$id = $_REQUEST["id"];
-$nachricht = $_REQUEST["termin"];
+$nachricht = $_REQUEST["nachricht"];
try {
$stmt = $db->prepare("UPDATE chor set nachricht =:nachricht WHERE id=:id;");
@@ -20,7 +20,7 @@ try {
error_log($e->getMessage());
}
-if ( empty($_SESSION) || is_null($_SESSON["error"]) ) {
+if ( empty($_SESSION) || is_null($_SESSION["error"]) ) {
$_SESSION["success"] = "Erfolgreich aktualisiert!";
}
header($_SERVER["SERVER_PROTOCOL"] . " 302 Redirect");