diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-11 02:58:32 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-11 02:58:32 +0000 |
commit | 431a831f48ed401e2e87e5f62399771ae7cb5d89 (patch) | |
tree | 3803da156fcad02960de403293f940905e531298 /modules/comment/helpers | |
parent | a53b2d85c743f0b159fc6f0837357a7ece6e94b5 (diff) |
Update tests to match the way that we store server variables in the
comment. Get rid of comment::update tests since, comment::update is
gone.
Found a bug in comment::create() in the process.. yay unit tests!
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php index 444e7e95..e5904bad 100644 --- a/modules/comment/helpers/comment.php +++ b/modules/comment/helpers/comment.php @@ -48,7 +48,7 @@ class comment_Core { // These values are useful for spam fighting, so save them with the comment. $input = Input::instance(); $comment->server_http_accept = $input->server("HTTP_ACCEPT"); - $comment->server_http_accept_charset = $input->server("SERVER_HTTP_ACCEPT_CHARSET"); + $comment->server_http_accept_charset = $input->server("HTTP_ACCEPT_CHARSET"); $comment->server_http_accept_encoding = $input->server("HTTP_ACCEPT_ENCODING"); $comment->server_http_accept_language = $input->server("HTTP_ACCEPT_LANGUAGE"); $comment->server_http_connection = $input->server("HTTP_CONNECTION"); |