diff options
Diffstat (limited to 'intern.gospeladlershof.de/code/chor')
| -rw-r--r-- | intern.gospeladlershof.de/code/chor/update.php | 4 |
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"); |
