From 78e668f4a9de01dee8f4c071acdf3dfa278b184a Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 16 Nov 2011 22:48:32 +0100 Subject: Fixed bug in frontend that resulted in missing author_mail values. --- ratatoeskr/frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratatoeskr/frontend.php b/ratatoeskr/frontend.php index 50f0473..f8cc3d1 100644 --- a/ratatoeskr/frontend.php +++ b/ratatoeskr/frontend.php @@ -814,7 +814,7 @@ function frontend_url_handler(&$data, $url_now, &$url_next) { $comment = Comment::create($article, $lang); $comment->author_name = $_POST["author_name"]; - $comment->author_mail = $_POST["author_email"]; + $comment->author_mail = $_POST["author_mail"]; $comment->text = $_POST["comment_text"]; $comment->save(); $ste->vars["current"]["commented"] = "Yes"; -- cgit v1.2.3-70-g09d2