summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-09-09 08:25:24 +0000
committerDries Buytaert <dries@buytaert.net>2006-09-09 08:25:24 +0000
commit35c33e3cf5b61fbf226116cb881f5e38c3a5103b (patch)
treeeed91820a19836bac352e2325fae6c4a218b160f /includes/form.inc
parentafd01f2a61604138d0ddb22e7645a591161c6632 (diff)
downloadbrdo-35c33e3cf5b61fbf226116cb881f5e38c3a5103b.tar.gz
brdo-35c33e3cf5b61fbf226116cb881f5e38c3a5103b.tar.bz2
- Patch #83222 by edkwh: more theme('placeholder') clean-up. Good catch.
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 1a7863e55..71e244204 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -497,7 +497,7 @@ function _form_validate($elements, $form_id = NULL) {
}
elseif (!isset($options[$elements['#value']])) {
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' => theme_placeholder(check_plain($elements['#value'])), '%name' => theme('placeholder', empty($elements['#title']) ? $elements['#parents'][0] : $elements['#title']))), WATCHDOG_ERROR);
+ watchdog('form', t('Illegal choice %choice in %name element.', array('%choice' => $elements['#value'], '%name' => empty($elements['#title']) ? $elements['#parents'][0] : $elements['#title'])), WATCHDOG_ERROR);
}
}
}