Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
captcha
Commits
c765e1be
Commit
c765e1be
authored
Sep 22, 2014
by
Fabiano Sant'Ana
Browse files
Issue #2325611 by coltex: Fix 'Undefined property' notice
parent
8b4597f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
captcha.module
captcha.module
+1
-1
No files found.
captcha.module
View file @
c765e1be
...
...
@@ -364,7 +364,7 @@ function captcha_form_alter(&$form, $form_state, $form_id) {
// Get CAPTCHA type and module for given form_id.
$captcha_point
=
captcha_get_form_id_setting
(
$form_id
);
if
(
$captcha_point
&&
$captcha_point
->
captcha_type
)
{
if
(
$captcha_point
&&
!
empty
(
$captcha_point
->
captcha_type
)
)
{
module_load_include
(
'inc'
,
'captcha'
);
// Build CAPTCHA form element.
$captcha_element
=
array
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment