Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
honeypot-2890533
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
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
honeypot-2890533
Commits
8e381124
Commit
8e381124
authored
13 years ago
by
Jeff Geerling
Browse files
Options
Downloads
Patches
Plain Diff
Small cleanup from earlier
#1249580
patch for translatable string.
parent
66fa670a
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
honeypot.module
+1
-1
1 addition, 1 deletion
honeypot.module
with
1 addition
and
1 deletion
honeypot.module
+
1
−
1
View file @
8e381124
...
...
@@ -197,7 +197,7 @@ function _honeypot_log($form_id, $type) {
if
(
variable_get
(
'honeypot_log'
,
0
))
{
$variables
=
array
(
'%form'
=>
$form_id
,
'
%
cause'
=>
(
$type
==
'honeypot'
)
?
t
(
'submission of a value in the honeypot field'
)
:
t
(
'submission of the form in less than minimum required time'
),
'
@
cause'
=>
(
$type
==
'honeypot'
)
?
t
(
'submission of a value in the honeypot field'
)
:
t
(
'submission of the form in less than minimum required time'
),
);
watchdog
(
'honeypot'
,
'Blocked submission of %form due to @cause.'
,
$variables
);
}
...
...
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