Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cleantalk-3440073
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
cleantalk-3440073
Commits
3a36d367
Commit
3a36d367
authored
5 years ago
by
Артем
Browse files
Options
Downloads
Patches
Plain Diff
fix forum checking
parent
f2ddbdd8
No related branches found
Tags
previous/3383905-set-field-value/2024-02-24
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cleantalk.module
+1
-1
1 addition, 1 deletion
cleantalk.module
with
1 addition
and
1 deletion
cleantalk.module
+
1
−
1
View file @
3a36d367
...
...
@@ -131,7 +131,7 @@ function cleantalk_validate_forum(&$form, &$form_state)
$spam_check
=
array
();
$ct_temp_msg_data
=
CleantalkFuncs
::
_cleantalk_get_fields_any
(
$_POST
);
$spam_check
[
'type'
]
=
'
forum
'
;
$spam_check
[
'type'
]
=
'
comment
'
;
if
(
empty
(
$form_state
[
'values'
][
'e_mail'
]))
$spam_check
[
'sender_email'
]
=
(
$ct_temp_msg_data
[
'email'
]
?
$ct_temp_msg_data
[
'email'
]
:
''
);
else
$spam_check
[
'sender_email'
]
=
$form_state
[
'values'
][
'e_mail'
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment