diff options
| author | Horus | 2016-12-02 20:10:29 +0100 |
|---|---|---|
| committer | Horus | 2016-12-02 20:10:29 +0100 |
| commit | 98ab1c8d95ae2fd4e07de366029a8cb224bcfe34 (patch) | |
| tree | 918855166c779e05c9986cef8d802ae661bc37f5 /intern.gospeladlershof.de/code | |
| parent | cbc20d51ce2db57837d47faf320396c75281c91f (diff) | |
| download | gospeladlershof.de-98ab1c8d95ae2fd4e07de366029a8cb224bcfe34.tar.gz | |
Bugfix
Diffstat (limited to 'intern.gospeladlershof.de/code')
| -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"); |
