diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/form.inc | 2 | ||||
-rw-r--r-- | includes/locale.inc | 2 |
2 files changed, 2 insertions, 2 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); } } } diff --git a/includes/locale.inc b/includes/locale.inc index eb3f19be1..1a82bb755 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -867,7 +867,7 @@ function _locale_import_parse_plural_forms($pluralforms, $filename) { return array($nplurals, $plural); } else { - drupal_set_message(t('The translation file %filename contains an error: the plural formula could not be parsed.', array('%filename' => theme('placeholder', $filename))), 'error'); + drupal_set_message(t('The translation file %filename contains an error: the plural formula could not be parsed.', array('%filename' => $filename)), 'error'); return FALSE; } } |