summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-10-06 15:23:18 +0000
committerDries Buytaert <dries@buytaert.net>2007-10-06 15:23:18 +0000
commitbb5e71d4ee873d103db395247303a2bc9b61d42c (patch)
treeb506a7895c35a611324b45a40df8e67e220b52dc /includes/form.inc
parent5a752dc507618499ff5ad72bc1258692e1905284 (diff)
downloadbrdo-bb5e71d4ee873d103db395247303a2bc9b61d42c.tar.gz
brdo-bb5e71d4ee873d103db395247303a2bc9b61d42c.tar.bz2
- Patch #172636 by chx: fixed watchdog call.
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc
index a974c61c3..3320b3e6a 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -581,7 +581,7 @@ function _form_validate($elements, &$form_state, $form_id = NULL) {
foreach ($value as $v) {
if (!isset($options[$v])) {
form_error($elements, t('An illegal choice has been detected. Please contact the site administrator.'));
- watchdog('form', t('Illegal choice %choice in !name element.', array('%choice' => $v, '!name' => empty($elements['#title']) ? $elements['#parents'][0] : $elements['#title'])), WATCHDOG_ERROR);
+ watchdog('form', 'Illegal choice %choice in !name element.', array('%choice' => $v, '!name' => empty($elements['#title']) ? $elements['#parents'][0] : $elements['#title']), WATCHDOG_ERROR);
}
}
}