Index: branches/5.2.x/units/poll_comments/poll_comments_config.php =================================================================== diff -u -r16579 -r16834 --- branches/5.2.x/units/poll_comments/poll_comments_config.php (.../poll_comments_config.php) (revision 16579) +++ branches/5.2.x/units/poll_comments/poll_comments_config.php (.../poll_comments_config.php) (revision 16834) @@ -1,6 +1,6 @@ Array('type' => 'string', 'max_len' => 255, 'formatter' => 'kFormatter', 'regexp' => '/^(' . REGEX_EMAIL_USER . '@' . REGEX_EMAIL_DOMAIN . ')$/i', 'sample_value' => 'email@domain.com', 'not_null' => '1', 'default' => '', 'error_msgs' => Array ('invalid_format' => '!la_invalid_email!', 'unique' => '!lu_email_already_exist!'), 'required' => 0), 'CommentBody' => Array ('type' => 'string', 'required' => 1, 'default' => NULL), 'CreatedOn' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'required' => 1, 'default' => '#NOW#'), - 'UserIP' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), + 'UserIP' => Array ('type' => 'string', 'max_len' => 50, 'not_null' => 1, 'default' => ''), 'Priority' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), 'Status' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_opt_Active', 0 => 'la_opt_Disabled', 2 => 'la_opt_Pending'), 'use_phrases' => 1, 'required' => 1, 'not_null' => 1, 'default' => 1), ),