Skip to content
Snippets Groups Projects
Commit 8e381124 authored by Jeff Geerling's avatar Jeff Geerling
Browse files

Small cleanup from earlier #1249580 patch for translatable string.

parent 66fa670a
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment