From 35c33e3cf5b61fbf226116cb881f5e38c3a5103b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 9 Sep 2006 08:25:24 +0000 Subject: - Patch #83222 by edkwh: more theme('placeholder') clean-up. Good catch. --- includes/form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/form.inc') 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); } } } -- cgit v1.2.3