diff options
author | Nathan Kinkade <nath@nkinka.de> | 2011-04-22 16:54:55 +0000 |
---|---|---|
committer | Nathan Kinkade <nath@nkinka.de> | 2011-04-22 16:54:55 +0000 |
commit | 1f7c1f18c651c58048e92d615c71ac0fe6691c10 (patch) | |
tree | 4527c4bc08000a07c180cd1fe81792d71195d58b /modules/comment/models | |
parent | de6f3fce9110b777d61dec97f2a3a61d887a5ccd (diff) | |
parent | 55da59c942c0f7171b515f0718fea8506ed4b116 (diff) |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/comment/models')
-rw-r--r-- | modules/comment/models/comment.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/models/comment.php b/modules/comment/models/comment.php index d5e952eb..7c189a0e 100644 --- a/modules/comment/models/comment.php +++ b/modules/comment/models/comment.php @@ -98,8 +98,8 @@ class Comment_Model_Core extends ORM { $this->server_http_referer = substr($input->server("HTTP_REFERER"), 0, 255); $this->server_http_user_agent = substr($input->server("HTTP_USER_AGENT"), 0, 128); $this->server_query_string = substr($input->server("QUERY_STRING"), 0, 64); - $this->server_remote_addr = substr($input->server("REMOTE_ADDR"), 0, 32); - $this->server_remote_host = substr($input->server("REMOTE_HOST"), 0, 64); + $this->server_remote_addr = substr($input->server("REMOTE_ADDR"), 0, 40); + $this->server_remote_host = substr($input->server("REMOTE_HOST"), 0, 255); $this->server_remote_port = substr($input->server("REMOTE_PORT"), 0, 16); } |