fixed issue 1758:Missing comment parameter in Recaptcha

This commit is contained in:
mdipierro
2013-11-01 18:07:29 -05:00
parent a01aa78f36
commit b1631ae2b3
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.7.4-stable+timestamp.2013.11.01.18.00.16
Version 2.7.4-stable+timestamp.2013.11.01.18.06.35
+3 -2
View File
@@ -751,7 +751,8 @@ class Recaptcha(DIV):
error=None,
error_message='invalid',
label='Verify:',
options=''
options='',
comment = ''
):
self.request_vars = request and request.vars or current.request.vars
self.remote_addr = request.env.remote_addr
@@ -765,7 +766,7 @@ class Recaptcha(DIV):
self.attributes = {}
self.label = label
self.options = options
self.comment = ''
self.comment = comment
def _validate(self):