aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/frontend.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-11-16 22:48:32 +0100
committerKevin Chabowski <kevin@kch42.de>2011-11-16 22:48:32 +0100
commit78e668f4a9de01dee8f4c071acdf3dfa278b184a (patch)
tree27fe8a7160606265362783246a8ac9aebcaefe59 /ratatoeskr/frontend.php
parente62ddc934464ca5fcd967f5c7ee6681e78c4b696 (diff)
downloadratatoeskr-cms-78e668f4a9de01dee8f4c071acdf3dfa278b184a.tar.gz
ratatoeskr-cms-78e668f4a9de01dee8f4c071acdf3dfa278b184a.tar.bz2
ratatoeskr-cms-78e668f4a9de01dee8f4c071acdf3dfa278b184a.zip
Fixed bug in frontend that resulted in missing author_mail values.
Diffstat (limited to 'ratatoeskr/frontend.php')
-rw-r--r--ratatoeskr/frontend.php2
1 files changed, 1 insertions, 1 deletions
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";